tiasm.vim (793B)
1 " Vim filetype plugin file 2 " Language: TI linear assembly language 3 " Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu> 4 " Last Change: 2025 Jan 08 5 6 if exists("b:did_ftplugin") | finish | endif 7 let b:did_ftplugin = 1 8 9 setlocal comments=:; 10 setlocal commentstring=;\ %s 11 12 let b:undo_ftplugin = "setl commentstring< comments<" 13 14 if exists("loaded_matchit") 15 let b:match_words = '^\s\+\.if\>:^\s\+\.elseif:^\s\+\.else\>:^\s\+\.endif\>,^\s\+\.group:^\s\+\.gmember:^\s\+\.endgroup,^\s\+\.loop:^\s\+\.break:^\s\+\.endloop,^\s\+\.macro:^\s\+\.mexit:^\s\+\.endm,^\s\+\.asmfunc:^\s\+\.endasmfunc,^\s\+\.c\?struct:^\s\+\.endstruct,^\s\+\.c\?union:^\s\+\.endunion,^\s\+\.c\?proc:^\s\+\.return:^\s\+\.endproc' 16 let b:match_ignorecase = 1 17 let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words" 18 endif