mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-18 03:50:26 +01:00
* Add language specific regex support for custom tag kinds * Fix typo in example
This commit is contained in:
@@ -1427,6 +1427,12 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
|
||||
if has_key(a:typeinfo, 'deffile') && filereadable(expand(a:typeinfo.deffile))
|
||||
let ctags_args += ['--options=' . expand(a:typeinfo.deffile)]
|
||||
endif
|
||||
|
||||
if has_key(a:typeinfo, 'regex')
|
||||
for regex in a:typeinfo.regex
|
||||
let ctags_args += ['--regex-' . ctags_type . '=' . regex]
|
||||
endfor
|
||||
endif
|
||||
endif
|
||||
|
||||
if has_key(a:typeinfo, 'ctagsbin')
|
||||
|
||||
Reference in New Issue
Block a user