diff --git a/lib/nerdtree/opener.vim b/lib/nerdtree/opener.vim index 974d99d3..1ea6e221 100644 --- a/lib/nerdtree/opener.vim +++ b/lib/nerdtree/opener.vim @@ -244,6 +244,9 @@ endfunction " FUNCTION: Opener._openFile() {{{1 function! s:Opener._openFile() + if !self._stay && !g:NERDTreeQuitOnOpen && exists("b:NERDTreeZoomed") && b:NERDTreeZoomed + call b:NERDTree.ui.toggleZoom() + endif if self._reuseWindow() return