Mercurial > vim
comparison runtime/syntax/tasm.vim @ 10051:46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 22:22:10 2016 +0200
Updated runtime files. Remove HiLink commands.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Aug 2016 22:30:08 +0200 |
parents | 43efa4f5a8ea |
children | bc1a8d21c811 |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
91 syn match tasmOct "\<[0-7]\+O\>" | 91 syn match tasmOct "\<[0-7]\+O\>" |
92 syn match tasmBin "\<[01]\+B\>" | 92 syn match tasmBin "\<[01]\+B\>" |
93 | 93 |
94 " Define the default highlighting. | 94 " Define the default highlighting. |
95 " Only when an item doesn't have highlighting yet | 95 " Only when an item doesn't have highlighting yet |
96 command -nargs=+ HiLink hi def link <args> | |
97 | 96 |
98 HiLink tasmString String | 97 hi def link tasmString String |
99 HiLink tasmDec Number | 98 hi def link tasmDec Number |
100 HiLink tasmHex Number | 99 hi def link tasmHex Number |
101 HiLink tasmOct Number | 100 hi def link tasmOct Number |
102 HiLink tasmBin Number | 101 hi def link tasmBin Number |
103 HiLink tasmInstruction Keyword | 102 hi def link tasmInstruction Keyword |
104 HiLink tasmCoprocInstr Keyword | 103 hi def link tasmCoprocInstr Keyword |
105 HiLink tasmMMXInst Keyword | 104 hi def link tasmMMXInst Keyword |
106 HiLink tasmDirective PreProc | 105 hi def link tasmDirective PreProc |
107 HiLink tasmRegister Identifier | 106 hi def link tasmRegister Identifier |
108 HiLink tasmProctype PreProc | 107 hi def link tasmProctype PreProc |
109 HiLink tasmComment Comment | 108 hi def link tasmComment Comment |
110 HiLink tasmLabel Label | 109 hi def link tasmLabel Label |
111 | 110 |
112 delcommand HiLink | |
113 | 111 |
114 let b:curret_syntax = "tasm" | 112 let b:curret_syntax = "tasm" |
115 | 113 |
116 let &cpo = s:cpo_save | 114 let &cpo = s:cpo_save |
117 unlet s:cpo_save | 115 unlet s:cpo_save |