mirror of
https://github.com/preservim/tagbar.git
synced 2025-10-04 17:16:15 +08:00
Small pseudo-tag bugfix
This commit is contained in:
@ -902,7 +902,7 @@ function! s:AddChildren(tags, processedtags, curpath, pscope, depth, typeinfo)
|
||||
if empty(a:curpath)
|
||||
let is_child = ''
|
||||
else
|
||||
let is_child = ' && v:val.parentpath ==# a:curpath'
|
||||
let is_child = ' && match(v:val.path, ''^\C'' . a:curpath) == 0'
|
||||
endif
|
||||
|
||||
let is_cur_child = 'v:val.depth == a:depth' . is_child
|
||||
|
Reference in New Issue
Block a user