fix syntax error in Path#delete()

This commit is contained in:
marty
2009-09-29 09:40:41 +13:00
parent cf61ad3285
commit 87fbc2e5e4

View File

@@ -1948,7 +1948,7 @@ endfunction
function! s:Path.delete()
if self.isDirectory
let cmd = g:NERDTreeRemoveDirCmd . self.str('escape': 1})
let cmd = g:NERDTreeRemoveDirCmd . self.str({'escape': 1})
let success = system(cmd)
if v:shell_error != 0