fix the output of the rename prompt when it asks you to delete an old buffer

This commit is contained in:
Martin Grenfell 2008-05-04 14:22:59 +12:00
parent 92a006f51c
commit 56dd5f05ab

View File

@ -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