mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
migrate fs_menu.vim to use the new Path#str method
This commit is contained in:
@@ -122,13 +122,13 @@ function! NERDTreeDeleteNode()
|
|||||||
let choice =input("Delete the current node\n" .
|
let choice =input("Delete the current node\n" .
|
||||||
\ "==========================================================\n" .
|
\ "==========================================================\n" .
|
||||||
\ "STOP! To delete this entire directory, type 'yes'\n" .
|
\ "STOP! To delete this entire directory, type 'yes'\n" .
|
||||||
\ "" . currentNode.path.strForOS(0) . ": ")
|
\ "" . currentNode.path.str() . ": ")
|
||||||
let confirmed = choice ==# 'yes'
|
let confirmed = choice ==# 'yes'
|
||||||
else
|
else
|
||||||
echo "Delete the current node\n" .
|
echo "Delete the current node\n" .
|
||||||
\ "==========================================================\n".
|
\ "==========================================================\n".
|
||||||
\ "Are you sure you wish to delete the node:\n" .
|
\ "Are you sure you wish to delete the node:\n" .
|
||||||
\ "" . currentNode.path.strForOS(0) . " (yN):"
|
\ "" . currentNode.path.str() . " (yN):"
|
||||||
let choice = nr2char(getchar())
|
let choice = nr2char(getchar())
|
||||||
let confirmed = choice ==# 'y'
|
let confirmed = choice ==# 'y'
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user