mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
bugfix to window resize code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user