mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
clear cached display string when path is refreshed
when the path object is refreshed, force the display string to be recalculated
This commit is contained in:
@@ -1369,6 +1369,7 @@ endfunction
|
|||||||
function! s:oPath.Refresh() dict
|
function! s:oPath.Refresh() dict
|
||||||
call self.ReadInfoFromDisk(self.StrForOS(0))
|
call self.ReadInfoFromDisk(self.StrForOS(0))
|
||||||
call self.CacheBookmarks()
|
call self.CacheBookmarks()
|
||||||
|
let self.cachedDisplayString = ""
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
"FUNCTION: oPath.Rename() {{{3
|
"FUNCTION: oPath.Rename() {{{3
|
||||||
|
|||||||
Reference in New Issue
Block a user