commit 56dd5f05ab6a8908e9b5fb324e2ed537953b962e parent 92a006f51ccce7c313bebb74e90dd6c1c850d63f Author: Martin Grenfell <martin_grenfell@msn.com> Date: Sun, 4 May 2008 14:22:59 +1200 fix the output of the rename prompt when it asks you to delete an old buffer Diffstat:
| M | plugin/NERD_tree.vim | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-) diff --git 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
