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:
Phil Runninger 2019-09-13 10:49:26 -04:00 committed by GitHub
parent 51fc75efdb
commit 60ec10b477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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...

View File

@ -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