mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
Fixed two bugs affecting adding and copying nodes with escaped chars (e.g. spaces) in the filepath
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user