mirror of
https://github.com/preservim/nerdtree.git
synced 2024-12-04 09:13:41 +08:00
fix #363
This commit is contained in:
parent
4f1e6ecb05
commit
a283c0e03e
|
@ -43,6 +43,10 @@ endfunction
|
||||||
function! s:Creator.createPrimary(name)
|
function! s:Creator.createPrimary(name)
|
||||||
let path = self._pathForString(a:name)
|
let path = self._pathForString(a:name)
|
||||||
|
|
||||||
|
if path == 0
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
"if instructed to, then change the vim CWD to the dir the NERDTree is
|
"if instructed to, then change the vim CWD to the dir the NERDTree is
|
||||||
"inited in
|
"inited in
|
||||||
if g:NERDTreeChDirMode != 0
|
if g:NERDTreeChDirMode != 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user