mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 11:32:25 +08:00
Fix VimL syntax error: undefined variable
This commit is contained in:
parent
d8d799a4d6
commit
8d81510aa6
|
@ -82,7 +82,7 @@ function! s:Creator.createWindowTree(dir)
|
|||
try
|
||||
let path = g:NERDTreePath.New(a:dir)
|
||||
catch /^NERDTree.InvalidArgumentsError/
|
||||
call nerdtree#echo("Invalid directory name:" . a:name)
|
||||
call nerdtree#echo("Invalid directory name:" . a:dir)
|
||||
return
|
||||
endtry
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user