Mercurial > vim
comparison runtime/syntax/sm.vim @ 10048:43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 30 23:26:57 2016 +0200
Updated runtime files. Remove version checks for Vim older than 6.0.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 30 Aug 2016 23:30:09 +0200 |
parents | dff4e29c6905 |
children | 46763b01cd9a |
comparison
equal
deleted
inserted
replaced
10047:a62862410ca1 | 10048:43efa4f5a8ea |
---|---|
54 syn match smElse contained "\$|" | 54 syn match smElse contained "\$|" |
55 syn match smClauseCont contained "^\t" | 55 syn match smClauseCont contained "^\t" |
56 syn region smClause matchgroup=Delimiter start="\$?." matchgroup=Delimiter end="\$\." contains=smElse,smClause,smVar,smClauseCont | 56 syn region smClause matchgroup=Delimiter start="\$?." matchgroup=Delimiter end="\$\." contains=smElse,smClause,smVar,smClauseCont |
57 | 57 |
58 " Define the default highlighting. | 58 " Define the default highlighting. |
59 " For version 5.7 and earlier: only when not done already | 59 " Only when an item doesn't have highlighting yet |
60 " For version 5.8 and later: only when an item doesn't have highlighting yet | 60 command -nargs=+ HiLink hi def link <args> |
61 if version >= 508 || !exists("did_smil_syntax_inits") | |
62 if version < 508 | |
63 let did_smil_syntax_inits = 1 | |
64 command -nargs=+ HiLink hi link <args> | |
65 else | |
66 command -nargs=+ HiLink hi def link <args> | |
67 endif | |
68 | 61 |
69 HiLink smClause Special | 62 HiLink smClause Special |
70 HiLink smClauseError Error | 63 HiLink smClauseError Error |
71 HiLink smComment Comment | 64 HiLink smComment Comment |
72 HiLink smDefine Statement | 65 HiLink smDefine Statement |
73 HiLink smElse Delimiter | 66 HiLink smElse Delimiter |
74 HiLink smHeader Statement | 67 HiLink smHeader Statement |
75 HiLink smHeaderSep String | 68 HiLink smHeaderSep String |
76 HiLink smMesg Special | 69 HiLink smMesg Special |
77 HiLink smPrecedence Number | 70 HiLink smPrecedence Number |
78 HiLink smRewrite Statement | 71 HiLink smRewrite Statement |
79 HiLink smRewriteComment Comment | 72 HiLink smRewriteComment Comment |
80 HiLink smRewriteLhsToken String | 73 HiLink smRewriteLhsToken String |
81 HiLink smRewriteLhsUser Statement | 74 HiLink smRewriteLhsUser Statement |
82 HiLink smRewriteRhsToken String | 75 HiLink smRewriteRhsToken String |
83 HiLink smRuleset Preproc | 76 HiLink smRuleset Preproc |
84 HiLink smTrusted Special | 77 HiLink smTrusted Special |
85 HiLink smVar String | 78 HiLink smVar String |
86 | 79 |
87 delcommand HiLink | 80 delcommand HiLink |
88 endif | |
89 | 81 |
90 let b:current_syntax = "sm" | 82 let b:current_syntax = "sm" |
91 | 83 |
92 " vim: ts=18 | 84 " vim: ts=18 |