diff --git a/lib/nerdtree/tree_dir_node.vim b/lib/nerdtree/tree_dir_node.vim index 995b357..f45a5b0 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