From 56dd5f05ab6a8908e9b5fb324e2ed537953b962e Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 4 May 2008 14:22:59 +1200 Subject: [PATCH] fix the output of the rename prompt when it asks you to delete an old buffer --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 9489907..c443d53 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -2812,7 +2812,7 @@ function! s:RenameCurrent() "if the node is open in a buffer, ask the user if they want to "close that buffer if bufnum != -1 - let prompt = "|\n|Node renamed.\n|\n|The old file is open in buffer ". bufnum . (bufwinnr(bufnum) == -1 ? " (hidden)" : "") .". Delete this buffer? (yN)" + let prompt = "\nNode renamed.\n\nThe old file is open in buffer ". bufnum . (bufwinnr(bufnum) == -1 ? " (hidden)" : "") .". Delete this buffer? (yN)" call s:PromptToDelBuffer(bufnum, prompt) endif