mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 04:13:48 -05:00
refresh new parent node after a move operation
This commit is contained in:
@@ -546,6 +546,7 @@ function! s:oTreeFileNode.Rename(newName) dict
|
|||||||
|
|
||||||
if newParent != {}
|
if newParent != {}
|
||||||
call newParent.CreateChild(self.path, 1)
|
call newParent.CreateChild(self.path, 1)
|
||||||
|
call newParent.Refresh()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
"FUNCTION: oTreeFileNode.StrDisplay() {{{3
|
"FUNCTION: oTreeFileNode.StrDisplay() {{{3
|
||||||
|
|||||||
Reference in New Issue
Block a user