summaryrefslogtreecommitdiff
path: root/runtime/syntax/uc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/uc.vim')
-rw-r--r--runtime/syntax/uc.vim96
1 files changed, 47 insertions, 49 deletions
diff --git a/runtime/syntax/uc.vim b/runtime/syntax/uc.vim
index e128cbf82..90d33396c 100644
--- a/runtime/syntax/uc.vim
+++ b/runtime/syntax/uc.vim
@@ -108,55 +108,53 @@ exec "syn sync ccomment ucComment minlines=" . uc_minlines
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
-
-HiLink ucFuncDef Conditional
-HiLink ucEventDef Conditional
-HiLink ucBraces Function
-HiLink ucBranch Conditional
-HiLink ucLabel Label
-HiLink ucUserLabel Label
-HiLink ucConditional Conditional
-HiLink ucRepeat Repeat
-HiLink ucStorageClass StorageClass
-HiLink ucMethodDecl ucStorageClass
-HiLink ucClassDecl ucStorageClass
-HiLink ucScopeDecl ucStorageClass
-HiLink ucBoolean Boolean
-HiLink ucSpecial Special
-HiLink ucSpecialError Error
-HiLink ucSpecialCharError Error
-HiLink ucString String
-HiLink ucCharacter Character
-HiLink ucSpecialChar SpecialChar
-HiLink ucNumber Number
-HiLink ucError Error
-HiLink ucStringError Error
-HiLink ucStatement Statement
-HiLink ucOperator Operator
-HiLink ucOverLoaded Operator
-HiLink ucComment Comment
-HiLink ucDocComment Comment
-HiLink ucLineComment Comment
-HiLink ucConstant ucBoolean
-HiLink ucTypedef Typedef
-HiLink ucTodo Todo
-
-HiLink ucCommentTitle SpecialComment
-HiLink ucDocTags Special
-HiLink ucDocParam Function
-HiLink ucCommentStar ucComment
-
-HiLink ucType Type
-HiLink ucExternal Include
-
-HiLink ucClassKeys Conditional
-HiLink ucClassLabel Conditional
-
-HiLink htmlComment Special
-HiLink htmlCommentPart Special
-
-delcommand HiLink
+
+hi def link ucFuncDef Conditional
+hi def link ucEventDef Conditional
+hi def link ucBraces Function
+hi def link ucBranch Conditional
+hi def link ucLabel Label
+hi def link ucUserLabel Label
+hi def link ucConditional Conditional
+hi def link ucRepeat Repeat
+hi def link ucStorageClass StorageClass
+hi def link ucMethodDecl ucStorageClass
+hi def link ucClassDecl ucStorageClass
+hi def link ucScopeDecl ucStorageClass
+hi def link ucBoolean Boolean
+hi def link ucSpecial Special
+hi def link ucSpecialError Error
+hi def link ucSpecialCharError Error
+hi def link ucString String
+hi def link ucCharacter Character
+hi def link ucSpecialChar SpecialChar
+hi def link ucNumber Number
+hi def link ucError Error
+hi def link ucStringError Error
+hi def link ucStatement Statement
+hi def link ucOperator Operator
+hi def link ucOverLoaded Operator
+hi def link ucComment Comment
+hi def link ucDocComment Comment
+hi def link ucLineComment Comment
+hi def link ucConstant ucBoolean
+hi def link ucTypedef Typedef
+hi def link ucTodo Todo
+
+hi def link ucCommentTitle SpecialComment
+hi def link ucDocTags Special
+hi def link ucDocParam Function
+hi def link ucCommentStar ucComment
+
+hi def link ucType Type
+hi def link ucExternal Include
+
+hi def link ucClassKeys Conditional
+hi def link ucClassLabel Conditional
+
+hi def link htmlComment Special
+hi def link htmlCommentPart Special
+
let b:current_syntax = "uc"