summaryrefslogtreecommitdiff
path: root/runtime/syntax/hercules.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/hercules.vim')
-rw-r--r--runtime/syntax/hercules.vim30
1 files changed, 14 insertions, 16 deletions
diff --git a/runtime/syntax/hercules.vim b/runtime/syntax/hercules.vim
index 2a786768d..d30570766 100644
--- a/runtime/syntax/hercules.vim
+++ b/runtime/syntax/hercules.vim
@@ -99,22 +99,20 @@ syn sync lines=100
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
-
-HiLink herculesStatement Statement
-HiLink herculesType Type
-HiLink herculesComment Comment
-HiLink herculesPreProc PreProc
-HiLink herculesTodo Todo
-HiLink herculesOutput Include
-HiLink herculesCmdCmnt Identifier
-HiLink herculesNumber Number
-HiLink herculesBraceError herculesError
-HiLink herculesCurlyError herculesError
-HiLink herculesParenError herculesError
-HiLink herculesError Error
-
-delcommand HiLink
+
+hi def link herculesStatement Statement
+hi def link herculesType Type
+hi def link herculesComment Comment
+hi def link herculesPreProc PreProc
+hi def link herculesTodo Todo
+hi def link herculesOutput Include
+hi def link herculesCmdCmnt Identifier
+hi def link herculesNumber Number
+hi def link herculesBraceError herculesError
+hi def link herculesCurlyError herculesError
+hi def link herculesParenError herculesError
+hi def link herculesError Error
+
let b:current_syntax = "hercules"