migrate fs_menu.vim to use the new Path#str method
This commit is contained in:
parent
36e4402550
commit
3a163fca64
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user