Skip to content

Commit

Permalink
Add Device Tree Source(DTS) support (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-prusov authored Aug 5, 2024
1 parent bc087d8 commit d55d454
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions autoload/tagbar/types/uctags.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d55d454

Please sign in to comment.