Merge pull request #227 from kasyaar/copy_node_fix
fixed error messages on copy node in NERDTree buffer
This commit is contained in:
commit
7cbaee253a
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user