From 171c3825facd5f5b01ea744fe6ba5e64a207c7d7 Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Wed, 24 Sep 2008 12:42:15 +1200 Subject: [PATCH] bug fix for TreeDirNode#hasVisibleChildren() --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 6c37357..5583bc6 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -824,7 +824,7 @@ endfunction "FUNCTION: TreeDirNode.hasVisibleChildren() {{{3 "returns 1 if this node has any childre, 0 otherwise.. function! s:TreeDirNode.hasVisibleChildren() - return self.getChildCount() != 0 + return self.getVisibleChildCount() != 0 endfunction "FUNCTION: TreeDirNode._initChildren() {{{3