Force NERDTreeFocus to allow events to be fired when switching windows.

This commit is contained in:
Phil Runninger
2020-05-04 07:59:25 -04:00
parent 5e77fb2fef
commit a7d585f7af
2 changed files with 3 additions and 3 deletions

View File

@@ -217,7 +217,7 @@ endfunction
function! NERDTreeFocus()
if g:NERDTree.IsOpen()
call g:NERDTree.CursorToTreeWin()
call g:NERDTree.CursorToTreeWin(0)
else
call g:NERDTreeCreator.ToggleTabTree('')
endif