From f640646f2cca72d39344fc48516a4978aca7cbe2 Mon Sep 17 00:00:00 2001 From: Phil Runninger Date: Thu, 22 Sep 2016 16:42:17 -0400 Subject: [PATCH] Change confirmation prompt when deleting non-empty directory. --- nerdtree_plugin/fs_menu.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nerdtree_plugin/fs_menu.vim b/nerdtree_plugin/fs_menu.vim index 154305b..dff4027 100644 --- a/nerdtree_plugin/fs_menu.vim +++ b/nerdtree_plugin/fs_menu.vim @@ -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