mirror of
https://github.com/preservim/nerdtree.git
synced 2024-10-18 22:00:21 +03:00
Revert commit 7f5a8caa
Some other changes causted previos commit to break the NERDTreeFind functionality instead of fixing it. Reverting...
This commit is contained in:
parent
1cd50482d2
commit
063e4d0870
@ -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'})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user