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