commit 5fc48b0b1363749c65512e0d8f445b201ea67831 parent fa65ec60ea57d87bdf1e9907663796880dbc7c73 Author: Jason Franklin <lifecrisis@users.noreply.github.com> Date: Fri, 5 Jan 2018 08:35:52 -0500 Merge pull request #794 from lifecrisis/reopen779 Revert the bugfix from pull request #785 and reopen issue #779. We keep the good style changes from PR #785 intact. Diffstat:
| M | lib/nerdtree/tree_dir_node.vim | | | 7 | ------- |
1 file changed, 0 insertions(+), 7 deletions(-) diff --git a/lib/nerdtree/tree_dir_node.vim b/lib/nerdtree/tree_dir_node.vim @@ -568,13 +568,6 @@ function! s:TreeDirNode.reveal(path, ...) throw "NERDTree.InvalidArgumentsError: " . a:path.str() . " should be under " . self.path.str() endif - " Refresh "self.children" to avoid missing paths created after this node - " was last opened. If "self.children" is empty, the call to "open()" will - " initialize the children. - if !empty(self.children) - " Silence messages/errors. They were seen on the first open. - silent! call self._initChildren(1) - endif call self.open() if self.path.equals(a:path.getParent())
