Merge pull request #359 from Xuyuanp/up/master
add refreshDirFlags method to avoid refreshing too many files
This commit is contained in:
commit
a47c6caf80
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user