summaryrefslogtreecommitdiff
path: root/runtime/syntax/smarty.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/smarty.vim')
-rw-r--r--runtime/syntax/smarty.vim16
1 files changed, 7 insertions, 9 deletions
diff --git a/runtime/syntax/smarty.vim b/runtime/syntax/smarty.vim
index ab8e85dce..a39c290ab 100644
--- a/runtime/syntax/smarty.vim
+++ b/runtime/syntax/smarty.vim
@@ -56,18 +56,16 @@ syn region htmlString contained start=+'+ end=+'+ contains=htmlSpecialChar,ja
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"