mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
fixed error messages on copy node in NERDTree buffer
This commit is contained in:
@@ -58,7 +58,7 @@ endfunction
|
|||||||
"FUNCTION: TreeFileNode.copy(dest) {{{1
|
"FUNCTION: TreeFileNode.copy(dest) {{{1
|
||||||
function! s:TreeFileNode.copy(dest)
|
function! s:TreeFileNode.copy(dest)
|
||||||
call self.path.copy(a:dest)
|
call self.path.copy(a:dest)
|
||||||
let newPath = s:NERDTreePath.New(a:dest)
|
let newPath = g:NERDTreePath.New(a:dest)
|
||||||
let parent = b:NERDTreeRoot.findNode(newPath.getParent())
|
let parent = b:NERDTreeRoot.findNode(newPath.getParent())
|
||||||
if !empty(parent)
|
if !empty(parent)
|
||||||
call parent.refresh()
|
call parent.refresh()
|
||||||
|
|||||||
Reference in New Issue
Block a user