mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 15:48:07 +08:00
fix the output of the rename prompt when it asks you to delete an old buffer
This commit is contained in:
parent
92a006f51c
commit
56dd5f05ab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user