mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
Merge pull request #359 from Xuyuanp/up/master
add refreshDirFlags method to avoid refreshing too many files
This commit is contained in:
@@ -448,6 +448,11 @@ function! s:TreeDirNode.refreshFlags()
|
|||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
"FUNCTION: TreeDirNode.refreshDirFlags() {{{1
|
||||||
|
function! s:TreeDirNode.refreshDirFlags()
|
||||||
|
call self.path.refreshFlags()
|
||||||
|
endfunction
|
||||||
|
|
||||||
"FUNCTION: TreeDirNode.reveal(path) {{{1
|
"FUNCTION: TreeDirNode.reveal(path) {{{1
|
||||||
"reveal the given path, i.e. cache and open all treenodes needed to display it
|
"reveal the given path, i.e. cache and open all treenodes needed to display it
|
||||||
"in the UI
|
"in the UI
|
||||||
|
|||||||
Reference in New Issue
Block a user