Merge pull request #56 from iNecas/nerd_tree_find_fix

NERDTreeFind fix
This commit is contained in:
Martin Grenfell 2011-05-06 03:00:50 -07:00
commit 1cd50482d2

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 = 1
let curPathComponent = 0
let fullpath = self.path.str({'format': 'UI'})