commit 1cd50482d2b0137a3faa3ee6ec4cb9d425bd3bb6
parent bf7347072378e5c9a7fe5d325d20e602df953e5e
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date: Fri, 6 May 2011 03:00:50 -0700
Merge pull request #56 from iNecas/nerd_tree_find_fix
NERDTreeFind fix
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 = 1
+ let curPathComponent = 0
let fullpath = self.path.str({'format': 'UI'})