bugfix to window resize code

This commit is contained in:
Martin Grenfell 2008-06-22 13:07:13 +12:00
parent 30bfb6e6b7
commit d68dcd252e

View File

@ -2222,7 +2222,7 @@ function! s:OpenNodeSplit(treenode)
exec(there)
if g:NERDTreeWinSize =~ '[0-9]\+' && winheight("") > g:NERDTreeWinSize
exec("silent vertical resize ".g:NERDTreeWinSize)
exec("silent resize ".g:NERDTreeWinSize)
endif
wincmd p