Merge pull request #74 from iNecas/nerd_tree_find_fix

NERDTreeFind fix revert
This commit is contained in:
Martin Grenfell 2011-07-05 03:55:05 -07:00
commit 04aa45fcd8

View File

@ -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'})