Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/runtime/syntax/smarty.vim +++ b/runtime/syntax/smarty.vim @@ -56,18 +56,16 @@ syn region htmlString contained start syn region htmlLink start="<a\>\_[^>]*\<href\>" end="</a>"me=e-4 contains=@Spell,htmlTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,javaScript,@htmlPreproc,smartyZone -command -nargs=+ HiLink hi def link <args> -HiLink smartyTagName Identifier -HiLink smartyProperty Constant +hi def link smartyTagName Identifier +hi def link smartyProperty Constant " if you want the text inside the braces to be colored, then " remove the comment in from of the next statement -"HiLink smartyZone Include -HiLink smartyInFunc Function -HiLink smartyBlock Constant -HiLink smartyDot SpecialChar -HiLink smartyModifier Function -delcommand HiLink +"hi def link smartyZone Include +hi def link smartyInFunc Function +hi def link smartyBlock Constant +hi def link smartyDot SpecialChar +hi def link smartyModifier Function let b:current_syntax = "smarty"