mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-25 09:41:03 +08:00
Enable events when closing NerdTree window. (#1037)
* Enable events when closing NT window. Triggers updates in Airline. * Update version number in change log.
This commit is contained in:
parent
51fc75efdb
commit
60ec10b477
|
@ -1,6 +1,7 @@
|
|||
# Change Log
|
||||
|
||||
#### 5.3...
|
||||
- **.2**: Enable events when closing NerdTree window. [#1037](https://github.com/scrooloose/nerdtree/pull/1037)
|
||||
- **.1**: Fix the `e` key mapping to use netrw if desired [#1031](https://github.com/scrooloose/nerdtree/pull/1031)
|
||||
- **.0**: Add file extension and size to sorting capabilities [#1029](https://github.com/scrooloose/nerdtree/pull/1029)
|
||||
#### 5.2...
|
||||
|
|
|
@ -52,7 +52,7 @@ function! s:NERDTree.Close()
|
|||
endif
|
||||
|
||||
call nerdtree#exec(s:NERDTree.GetWinNum() . " wincmd w", 1)
|
||||
call nerdtree#exec("close", 1)
|
||||
call nerdtree#exec("close", 0)
|
||||
if l:useWinId
|
||||
call nerdtree#exec("call win_gotoid(" . l:activeBufOrWin . ")", 0)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user