Fix vsplit to not open empty buffer (#1098)

* Fix vsplit to not open empty buffer

* Add changelog entry
This commit is contained in:
Rolando
2020-03-31 23:21:37 -06:00
committed by GitHub
parent 343508e9fd
commit 832bbaa729
2 changed files with 2 additions and 1 deletions

View File

@@ -195,7 +195,7 @@ function! s:Opener._newVSplit()
endif
call nerdtree#exec('wincmd p', 1)
call nerdtree#exec('vnew', 1)
call nerdtree#exec('vsplit', 1)
let l:currentWindowNumber = winnr()