mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
add .refreshFlags() to path/dir/file objects
This will trigger the path refresh callbacks without refreshing the path's from disk (which takes ages)
This commit is contained in:
@@ -544,6 +544,12 @@ function! s:Path.refresh()
|
||||
call self.cacheDisplayString()
|
||||
endfunction
|
||||
|
||||
"FUNCTION: Path.refreshFlags() {{{1
|
||||
function! s:Path.refreshFlags()
|
||||
call g:NERDTreeRefreshNotifier.NotifyListeners(self)
|
||||
call self.cacheDisplayString()
|
||||
endfunction
|
||||
|
||||
"FUNCTION: Path.rename() {{{1
|
||||
"
|
||||
"Renames this node on the filesystem
|
||||
|
||||
Reference in New Issue
Block a user