mirror of
https://github.com/preservim/tagbar.git
synced 2024-11-21 22:35:51 +08:00
Add Device Tree Source(DTS) support (#890)
Some checks failed
Check / check (exuberant-ctags, nvim) (push) Has been cancelled
Check / check (exuberant-ctags, vim) (push) Has been cancelled
Check / check (universal-ctags, nvim) (push) Has been cancelled
Check / check (universal-ctags, vim) (push) Has been cancelled
Vint / vint (push) Has been cancelled
Some checks failed
Check / check (exuberant-ctags, nvim) (push) Has been cancelled
Check / check (exuberant-ctags, vim) (push) Has been cancelled
Check / check (universal-ctags, nvim) (push) Has been cancelled
Check / check (universal-ctags, vim) (push) Has been cancelled
Vint / vint (push) Has been cancelled
This commit is contained in:
parent
bc087d88de
commit
d55d454bd3
|
@ -508,6 +508,14 @@ function! tagbar#types#uctags#init(supported_types) abort
|
|||
\ {'short' : 'v', 'long' : 'variables', 'fold' : 0, 'stl' : 1}
|
||||
\ ]
|
||||
let types.dosbatch = type_dosbatch
|
||||
" DTS {{{1
|
||||
let type_dts = tagbar#prototypes#typeinfo#new()
|
||||
let type_dts.ctagstype = 'dts'
|
||||
let type_dts.kinds = [
|
||||
\ {'short' : 'l', 'long' : 'labels', 'fold' : 0, 'stl' : 1},
|
||||
\ {'short' : 'p', 'long' : 'phandlers', 'fold' : 0, 'stl' : 1}
|
||||
\ ]
|
||||
let types.dts = type_dts
|
||||
" Eiffel {{{1
|
||||
let type_eiffel = tagbar#prototypes#typeinfo#new()
|
||||
let type_eiffel.ctagstype = 'eiffel'
|
||||
|
|
Loading…
Reference in New Issue
Block a user