add refreshDirFlags method to avoid refreshing too many files

This commit is contained in:
Xuyuan Pang 2014-07-19 17:57:41 +08:00
parent c2dd750860
commit 8cd045d0e2

View File

@ -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