@@ -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 () . g: NERDTreePath .Slash ())
60+                           \  " "  , curDirNode.path .str () . g: NERDTreePath .Slash (),  " file "  )
6161
6262    if  newNodeName == # ' ' 
6363        call  s: echo (" Node Creation Aborted."  )
@@ -85,7 +85,7 @@ function! NERDTreeMoveNode()
8585    let  newNodePath =  input (" Rename the current node\n "   .
8686                          \  " ==========================================================\n "   .
8787                          \  " Enter the new path for the node:                          \n "   .
88-                           \  " "  , curNode.path .str ())
88+                           \  " "  , curNode.path .str (),  " file "  )
8989
9090    if  newNodePath == # ' ' 
9191        call  s: echo (" Node Renaming Aborted."  )
@@ -163,7 +163,7 @@ function! NERDTreeCopyNode()
163163    let  newNodePath =  input (" Copy the current node\n "   .
164164                          \  " ==========================================================\n "   .
165165                          \  " Enter the new path to copy the node to:                   \n "   .
166-                           \  " "  , currentNode.path .str ())
166+                           \  " "  , currentNode.path .str (),  " file "  )
167167
168168    if  newNodePath !=  " " 
169169        " strip trailing slash 
0 commit comments