commit 063e4d087026fa369f86f7bde86944b5c2138737
parent 1cd50482d2b0137a3faa3ee6ec4cb9d425bd3bb6
Author: Ivan Necas <necasik@gmail.com>
Date: Sat, 25 Jun 2011 11:51:21 +0200
Revert commit 7f5a8caa
Some other changes causted previos commit to break the NERDTreeFind functionality
instead of fixing it. Reverting...
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'})