mirror of
https://github.com/gryf/tagbar.git
synced 2026-11-20 20:06:55 +01:00
Allow for extra ctags definition files in type definitions
This commit is contained in:
1 parent
07997460d1
commit
e84bffb6df
2 files changed
+26
-2
No files matched your search
@@ -991,6 +991,11 @@ function! s:ProcessFile(fname, ftype)
|
||||
let ctags_args .= ' --extra= '
|
||||
let ctags_args .= ' --sort=yes '
|
||||
|
||||
" Include extra type definitions
|
||||
if has_key(typeinfo, 'deffile')
|
||||
let ctags_args .= ' --options=' . typeinfo.deffile . ' '
|
||||
endif
|
||||
|
||||
let ctags_type = typeinfo.ctagstype
|
||||
|
||||
let ctags_kinds = ""
|
||||
|
||||
Reference in new issue
Block a user