mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-23 14:56:19 +08:00
add refreshDirFlags method to avoid refreshing too many files
This commit is contained in:
parent
c2dd750860
commit
8cd045d0e2
|
@ -448,6 +448,11 @@ function! s:TreeDirNode.refreshFlags()
|
|||
endfor
|
||||
endfunction
|
||||
|
||||
"FUNCTION: TreeDirNode.refreshDirFlags() {{{1
|
||||
function! s:TreeDirNode.refreshDirFlags()
|
||||
call self.path.refreshFlags()
|
||||
endfunction
|
||||
|
||||
"FUNCTION: TreeDirNode.reveal(path) {{{1
|
||||
"reveal the given path, i.e. cache and open all treenodes needed to display it
|
||||
"in the UI
|
||||
|
|
Loading…
Reference in New Issue
Block a user