mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
fix a bug with refreshing after copying
This commit is contained in:
@@ -169,7 +169,7 @@ endfunction
|
||||
function! s:oTreeFileNode.Copy(dest) dict
|
||||
call self.path.Copy(a:dest)
|
||||
let newPath = s:oPath.New(a:dest)
|
||||
let parentNode = t:NERDTreeRoot.FindNode(newPath.GetDir())
|
||||
let parentNode = t:NERDTreeRoot.FindNode(newPath.GetParent())
|
||||
if !empty(parentNode)
|
||||
call parentNode.Refresh()
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user