From 6d82627b1324e073b9fb0a8ffaa13358b525dbbe Mon Sep 17 00:00:00 2001 From: Terry Ding Date: Tue, 26 Mar 2019 11:10:19 +0800 Subject: [PATCH] fix _initChildren function value set to numChildrenCached error --- lib/nerdtree/tree_dir_node.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nerdtree/tree_dir_node.vim b/lib/nerdtree/tree_dir_node.vim index 995b3572..f45a5b0b 100644 --- a/lib/nerdtree/tree_dir_node.vim +++ b/lib/nerdtree/tree_dir_node.vim @@ -490,7 +490,7 @@ function! s:TreeDirNode.open(...) let l:numChildrenCached = 0 if empty(self.children) - let l:numChildrenCached = self._initChildren + let l:numChildrenCached = self._initChildren() endif return l:numChildrenCached