Mercurial > vim
comparison runtime/syntax/smarty.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 |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
54 syn region htmlString contained start=+"+ end=+"+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc,smartyZone | 54 syn region htmlString contained start=+"+ end=+"+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc,smartyZone |
55 syn region htmlString contained start=+'+ end=+'+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc,smartyZone | 55 syn region htmlString contained start=+'+ end=+'+ contains=htmlSpecialChar,javaScriptExpression,@htmlPreproc,smartyZone |
56 syn region htmlLink start="<a\>\_[^>]*\<href\>" end="</a>"me=e-4 contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc,smartyZone | 56 syn region htmlLink start="<a\>\_[^>]*\<href\>" end="</a>"me=e-4 contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc,smartyZone |
57 | 57 |
58 | 58 |
59 command -nargs=+ HiLink hi def link <args> | |
60 | 59 |
61 HiLink smartyTagName Identifier | 60 hi def link smartyTagName Identifier |
62 HiLink smartyProperty Constant | 61 hi def link smartyProperty Constant |
63 " if you want the text inside the braces to be colored, then | 62 " if you want the text inside the braces to be colored, then |
64 " remove the comment in from of the next statement | 63 " remove the comment in from of the next statement |
65 "HiLink smartyZone Include | 64 "hi def link smartyZone Include |
66 HiLink smartyInFunc Function | 65 hi def link smartyInFunc Function |
67 HiLink smartyBlock Constant | 66 hi def link smartyBlock Constant |
68 HiLink smartyDot SpecialChar | 67 hi def link smartyDot SpecialChar |
69 HiLink smartyModifier Function | 68 hi def link smartyModifier Function |
70 delcommand HiLink | |
71 | 69 |
72 let b:current_syntax = "smarty" | 70 let b:current_syntax = "smarty" |
73 | 71 |
74 if main_syntax == 'smarty' | 72 if main_syntax == 'smarty' |
75 unlet main_syntax | 73 unlet main_syntax |