comparison runtime/ftplugin/masm.vim @ 28620:4d76b3e07c07

Update runtime files Commit: https://github.com/vim/vim/commit/ce001a337e28fa368f40ac6422835d730fb8ebb1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 27 15:25:03 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 Apr 2022 16:30:04 +0200
parents 7f88f6a3ed4c
children
comparison
equal deleted inserted replaced
28619:844548ee1919 28620:4d76b3e07c07
1 " Vim filetype plugin file 1 " Vim filetype plugin file
2 " Language: Microsoft Macro Assembler (80x86) 2 " Language: Microsoft Macro Assembler (80x86)
3 " Maintainer: Wu Yongwei <wuyongwei@gmail.com> 3 " Maintainer: Wu Yongwei <wuyongwei@gmail.com>
4 " Last Change: 2020-05-09 23:02:05 +0800 4 " Last Change: 2022-04-24 21:24:52 +0800
5 5
6 if exists("b:did_ftplugin") 6 if exists("b:did_ftplugin")
7 finish 7 finish
8 endif 8 endif
9 let b:did_ftplugin = 1 9 let b:did_ftplugin = 1
13 13
14 let b:undo_ftplugin = "setl iskeyword<" 14 let b:undo_ftplugin = "setl iskeyword<"
15 15
16 setlocal iskeyword=@,48-57,_,36,60,62,63,@-@ 16 setlocal iskeyword=@,48-57,_,36,60,62,63,@-@
17 17
18 " Matchit support
19 if !exists('b:match_words')
20 let b:match_words = '^\s*\.IF\>:^\s*\.ELSEIF\>:^\s*\.ELSE\>:^\s*\.ENDIF\>,'
21 \ .. '^\s*\.REPEAT\>:^\s*\.UNTIL\(CXZ\)\?\>,'
22 \ .. '^\s*\.WHILE\>:^\s*\.ENDW\>,'
23 \ .. '^\s*IF\(1\|2\|E\|DEF\|NDEF\|B\|NB\|IDNI\?\|DIFI\?\)\?\>:^\s*ELSEIF\(1\|2\|E\|DEF\|NDEF\|B\|NB\|IDNI\?\|DIFI\?\)\?\>:^\s*ELSE\>:^\s*ENDIF\>,'
24 \ .. '\(\<MACRO\>\|^\s*%\?\s*FORC\?\>\|^\s*REPEAT\>\|^\s*WHILE\):^\s*ENDM\>,'
25 \ .. '\<PROC\>:\<ENDP\>,'
26 \ .. '\<SEGMENT\>:\<ENDS\>'
27 let b:match_ignorecase = 1
28 let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words"
29 endif
30
18 let &cpo = s:cpo_save 31 let &cpo = s:cpo_save
19 unlet s:cpo_save 32 unlet s:cpo_save