From c2af2173b5fa1a7cf20cabf02d383d738a7e50a3 Mon Sep 17 00:00:00 2001 From: Ruchee Date: Thu, 16 Jul 2015 13:39:54 +0800 Subject: [PATCH] Added CSS support with Universal Ctags --- autoload/tagbar/types/uctags.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/autoload/tagbar/types/uctags.vim b/autoload/tagbar/types/uctags.vim index ed4a1ec..9cf2d32 100644 --- a/autoload/tagbar/types/uctags.vim +++ b/autoload/tagbar/types/uctags.vim @@ -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'