Skip to content

Commit

Permalink
Merge pull request #867 from aflock/aflock/reword-renamed-buffer
Browse files Browse the repository at this point in the history
Reword renamed-buffer prompt to be more clear
  • Loading branch information
PhilRunninger authored Aug 4, 2018
2 parents 43d5691 + 9e9d16a commit e653a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nerdtree_plugin/fs_menu.vim
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function! NERDTreeMoveNode()
"if the node is open in a buffer, ask the user if they want to
"close that buffer
if bufnum != -1
let prompt = "\nNode renamed.\n\nThe old file is open in buffer ". bufnum . (bufwinnr(bufnum) ==# -1 ? " (hidden)" : "") .". Replace this buffer with a new file? (yN)"
let prompt = "\nNode renamed.\n\nThe old file is open in buffer ". bufnum . (bufwinnr(bufnum) ==# -1 ? " (hidden)" : "") .". Replace this buffer with the new file? (yN)"
call s:promptToRenameBuffer(bufnum, prompt, newNodePath)
endif

Expand Down

0 comments on commit e653a68

Please sign in to comment.