This commit is contained in:
Xuyuan Pang 2014-09-01 16:25:27 +08:00
parent 4f1e6ecb05
commit a283c0e03e

View File

@ -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