From 063e4d087026fa369f86f7bde86944b5c2138737 Mon Sep 17 00:00:00 2001 From: Ivan Necas Date: Sat, 25 Jun 2011 11:51:21 +0200 Subject: [PATCH] Revert commit 7f5a8caa Some other changes causted previos commit to break the NERDTreeFind functionality instead of fixing it. Reverting... --- 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 ee13ab0..b5d014b 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -991,7 +991,7 @@ function! s:TreeFileNode.getLineNum() "the path components we have matched so far let pathcomponents = [substitute(b:NERDTreeRoot.path.str({'format': 'UI'}), '/ *$', '', '')] "the index of the component we are searching for - let curPathComponent = 0 + let curPathComponent = 1 let fullpath = self.path.str({'format': 'UI'})