Change confirmation prompt when deleting non-empty directory.

This commit is contained in:
Phil Runninger 2016-09-22 16:42:17 -04:00 committed by GitHub
parent 1a6c502f19
commit f640646f2c

View File

@ -163,7 +163,7 @@ function! NERDTreeDeleteNode()
if currentNode.path.isDirectory && currentNode.getChildCount() > 0
let choice =input("Delete the current node\n" .
\ "==========================================================\n" .
\ "STOP! To delete this entire directory, type 'yes'\n" .
\ "STOP! Directory is not empty! To delete, type 'yes'\n" .
\ "" . currentNode.path.str() . ": ")
let confirmed = choice ==# 'yes'
else