mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
use s:Echo instead of :echo
This commit is contained in:
@@ -2944,7 +2944,7 @@ function! s:CopyNode()
|
|||||||
|
|
||||||
let confirmed = 1
|
let confirmed = 1
|
||||||
if currentNode.path.CopyingWillOverwrite(newNodePath)
|
if currentNode.path.CopyingWillOverwrite(newNodePath)
|
||||||
echo "\nWarning: copying may overwrite files! Continue? (yN)"
|
call s:Echo("\nWarning: copying may overwrite files! Continue? (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