1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Added CSS support with Universal Ctags

This commit is contained in:
Ruchee
2015-07-16 13:39:54 +08:00
committed by Jan Larres
parent 83246ed59f
commit c2af2173b5

View File

@@ -212,6 +212,15 @@ function! tagbar#types#uctags#init(supported_types) abort
\ {'short' : 's', 'long' : 'sections', 'fold' : 0, 'stl' : 1}
\ ]
let types.cobol = type_cobol
" CSS {{{1
let type_css = tagbar#prototypes#typeinfo#new()
let type_css.ctagstype = 'css'
let type_css.kinds = [
\ {'short' : 's', 'long' : 'selector', 'fold' : 0, 'stl' : 0},
\ {'short' : 'i', 'long' : 'identities', 'fold' : 1, 'stl' : 0},
\ {'short' : 'c', 'long' : 'classes', 'fold' : 1, 'stl' : 0}
\ ]
let types.css = type_css
" DOS Batch {{{1
let type_dosbatch = tagbar#prototypes#typeinfo#new()
let type_dosbatch.ctagstype = 'dosbatch'