File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function! NERDTreeAddNode()
5757 let newNodeName = input (" Add a childnode\n " .
5858 \ " ==========================================================\n " .
5959 \ " Enter the dir/file name to be created. Dirs end with a '/'\n " .
60- \ " " , curDirNode.path .str ({ ' format ' : ' Glob ' } ) . g: NERDTreePath .Slash ())
60+ \ " " , curDirNode.path .str () . g: NERDTreePath .Slash ())
6161
6262 if newNodeName == # ' '
6363 call s: echo (" Node Creation Aborted." )
Original file line number Diff line number Diff line change @@ -2010,7 +2010,7 @@ function! s:Path.copy(dest)
20102010
20112011 let dest = s: Path .WinToUnixPath (a: dest )
20122012
2013- let cmd = g: NERDTreeCopyCmd . " " . self .str () . " " . dest
2013+ let cmd = g: NERDTreeCopyCmd . " " . escape ( self .str (), s: escape_chars ) . " " . escape ( dest, s: escape_chars )
20142014 let success = system (cmd)
20152015 if success != 0
20162016 throw " NERDTree.CopyError: Could not copy ''" . self .str () ." '' to: '" . a: dest . " '"
You can’t perform that action at this time.
0 commit comments