mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
fix the output of the rename prompt when it asks you to delete an old buffer
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user