commit 8cd045d0e231a77769d9bd166fec9736c21a3a5c
parent c2dd750860288b8cf81f6bd5ff49dc5ee76a34d5
Author: Xuyuan Pang <xuyuanp@gmail.com>
Date: Sat, 19 Jul 2014 17:57:41 +0800
add refreshDirFlags method to avoid refreshing too many files
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib/nerdtree/tree_dir_node.vim b/lib/nerdtree/tree_dir_node.vim
@@ -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