mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-25 09:21:30 +08:00
fix _initChildren function value set to numChildrenCached error (#969)
This commit is contained in:
parent
e3e600608a
commit
839cddc750
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user