mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05: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:
@@ -1,6 +1,7 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
#### 5.3...
|
#### 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)
|
- **.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)
|
- **.0**: Add file extension and size to sorting capabilities [#1029](https://github.com/scrooloose/nerdtree/pull/1029)
|
||||||
#### 5.2...
|
#### 5.2...
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ function! s:NERDTree.Close()
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
call nerdtree#exec(s:NERDTree.GetWinNum() . " wincmd w", 1)
|
call nerdtree#exec(s:NERDTree.GetWinNum() . " wincmd w", 1)
|
||||||
call nerdtree#exec("close", 1)
|
call nerdtree#exec("close", 0)
|
||||||
if l:useWinId
|
if l:useWinId
|
||||||
call nerdtree#exec("call win_gotoid(" . l:activeBufOrWin . ")", 0)
|
call nerdtree#exec("call win_gotoid(" . l:activeBufOrWin . ")", 0)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user