commit 04aa45fcd8228d7238c3af0b90f2b328add032e2
parent 1cd50482d2b0137a3faa3ee6ec4cb9d425bd3bb6
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date: Tue, 5 Jul 2011 03:55:05 -0700
Merge pull request #74 from iNecas/nerd_tree_find_fix
NERDTreeFind fix revert
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'})