Fix VimL syntax error: undefined variable

This commit is contained in:
Caleb Maclennan 2019-12-31 09:36:36 +03:00
parent d8d799a4d6
commit 8d81510aa6
No known key found for this signature in database
GPG Key ID: 63CC496475267693

View File

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