mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
bugfix to window resize code
This commit is contained in:
@@ -2222,7 +2222,7 @@ function! s:OpenNodeSplit(treenode)
|
|||||||
exec(there)
|
exec(there)
|
||||||
|
|
||||||
if g:NERDTreeWinSize =~ '[0-9]\+' && winheight("") > g:NERDTreeWinSize
|
if g:NERDTreeWinSize =~ '[0-9]\+' && winheight("") > g:NERDTreeWinSize
|
||||||
exec("silent vertical resize ".g:NERDTreeWinSize)
|
exec("silent resize ".g:NERDTreeWinSize)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
wincmd p
|
wincmd p
|
||||||
|
|||||||
Reference in New Issue
Block a user