Fixed two bugs affecting adding and copying nodes with escaped chars (e.g. spaces) in the filepath

This commit is contained in:
Steve DeWald
2011-02-20 09:40:34 -08:00
parent 2504666a72
commit 1de3c22a44
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ function! NERDTreeAddNode()
let newNodeName = input("Add a childnode\n".
\ "==========================================================\n".
\ "Enter the dir/file name to be created. Dirs end with a '/'\n" .
\ "", curDirNode.path.str({'format': 'Glob'}) . g:NERDTreePath.Slash())
\ "", curDirNode.path.str() . g:NERDTreePath.Slash())
if newNodeName ==# ''
call s:echo("Node Creation Aborted.")