Unzoom only when user want NERDTree to stay open.

This commit is contained in:
Phil Runninger (mac) 2018-08-07 10:01:09 -04:00
parent 192b07ce1f
commit b6978ecd70

View File

@ -244,7 +244,7 @@ endfunction
" FUNCTION: Opener._openFile() {{{1 " FUNCTION: Opener._openFile() {{{1
function! s:Opener._openFile() function! s:Opener._openFile()
if !self._stay && exists("b:NERDTreeZoomed") && b:NERDTreeZoomed if !self._stay && !g:NERDTreeQuitOnOpen && exists("b:NERDTreeZoomed") && b:NERDTreeZoomed
call b:NERDTree.ui.toggleZoom() call b:NERDTree.ui.toggleZoom()
endif endif