From eb96cd87f173125f0148e75d330f71e9edfd7022 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Tue, 25 Jan 2011 20:12:57 +1300 Subject: [PATCH] Add support for Asm --- plugin/tagbar.vim | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index ac2a0fa..8013da7 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -5,7 +5,7 @@ " Licence: Vim licence " Website: http://github.com/majutsushi/tagbar " Note: This plugin was heavily inspired by the 'Taglist' plugin by -" Yegappan Lakshamanan and uses some small portions of code from +" Yegappan Lakshmanan and uses some small portions of code from " it. " ============================================================================ @@ -83,6 +83,16 @@ function! s:InitTypes() \ 't:targets' \ ] let s:known_types.ant = type_ant + " Asm {{{2 + let type_asm = {} + let type_asm.ctagstype = 'asm' + let type_asm.kinds = [ + \ 'm:macros', + \ 't:types', + \ 'd:defines', + \ 'l:labels' + \ ] + let s:known_types.asm = type_asm " C {{{2 let type_c = {} let type_c.ctagstype = 'c'