codekingpro/portable-devtools
115k
1" Vim filetype plugin file2" Language: asm3" Maintainer: Colin Caine <cmcaine at the common googlemail domain>4" Last Change: 2020 May 235" 2023 Aug 28 by Vim Project (undo_ftplugin)6" 2024 Apr 09 by Vim Project (add Matchit support)7" 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')8" 2026 Jan 19 by Vim Project (add # as comment symbol)9 10if exists("b:did_ftplugin") | finish | endif11let b:did_ftplugin = 112 13setl include=^\\s*%\\s*include14setl comments=:;,s1:/*,mb:*,ex:*/,://,:#15setl commentstring=;\ %s16 17let b:undo_ftplugin = "setl commentstring< comments< include<"18 19" Matchit support20if !exists('b:match_words')21 let b:match_skip = 's:comment\|string\|character\|special'22 let b:match_words = '^\s*%\s*if\%(\|num\|idn\|nidn\)\>:^\s*%\s*elif\>:^\s*%\s*else\>:^\s*%\s*endif\>,^\s*%\s*macro\>:^\s*%\s*endmacro\>,^\s*%\s*rep\>:^\s*%\s*endrep\>'23 let b:match_ignorecase = 124 let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words b:match_skip"25endif26 