Revert commit 7f5a8caa

Some other changes causted previos commit to break the NERDTreeFind functionality
instead of fixing it. Reverting...
This commit is contained in:
Ivan Necas 2011-06-25 11:51:21 +02:00
parent 1cd50482d2
commit 063e4d0870

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