1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

Merge pull request #530 from hupfdule/manpage-support

Add support for manpages
This commit is contained in:
Caleb Maclennan
2019-10-22 10:19:23 +03:00
committed by GitHub

View File

@@ -614,6 +614,23 @@ function! tagbar#types#uctags#init(supported_types) abort
\ {'short' : 'v', 'long' : 'variables', 'fold' : 0, 'stl' : 0}
\ ]
let types.matlab = type_matlab
" NRoff {{{1
let type_nroff = tagbar#prototypes#typeinfo#new()
let type_nroff.ctagstype = 'nroff'
let type_nroff.kinds = [
\ {'short' : 't', 'long' : 'titles', 'fold' : 0, 'stl' : 1},
\ {'short' : 's', 'long' : 'sections', 'fold' : 0, 'stl' : 1}
\ ]
let type_nroff.sro = '.'
let type_nroff.kind2scope = {
\ 't' : 'title',
\ 's' : 'section'
\ }
let type_nroff.scope2kind = {
\ 'section' : 't',
\ 'title' : 's'
\ }
let types.nroff = type_nroff
" ObjectiveC {{{1
let type_objc = tagbar#prototypes#typeinfo#new()
let type_objc.ctagstype = 'objectivec'