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

This commit is contained in:
Igor Prusov 2024-08-05 18:28:31 +03:00 committed by GitHub
parent bc087d88de
commit d55d454bd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'