mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 15:00:48 +08:00
bugfix to window resize code
This commit is contained in:
parent
30bfb6e6b7
commit
d68dcd252e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user