Change confirmation prompt when deleting non-empty directory.
This commit is contained in:
parent
1a6c502f19
commit
f640646f2c
@ -163,7 +163,7 @@ function! NERDTreeDeleteNode()
|
|||||||
if currentNode.path.isDirectory && currentNode.getChildCount() > 0
|
if currentNode.path.isDirectory && currentNode.getChildCount() > 0
|
||||||
let choice =input("Delete the current node\n" .
|
let choice =input("Delete the current node\n" .
|
||||||
\ "==========================================================\n" .
|
\ "==========================================================\n" .
|
||||||
\ "STOP! To delete this entire directory, type 'yes'\n" .
|
\ "STOP! Directory is not empty! To delete, type 'yes'\n" .
|
||||||
\ "" . currentNode.path.str() . ": ")
|
\ "" . currentNode.path.str() . ": ")
|
||||||
let confirmed = choice ==# 'yes'
|
let confirmed = choice ==# 'yes'
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user