summaryrefslogtreecommitdiff
path: root/runtime/syntax/postscr.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/postscr.vim')
-rw-r--r--runtime/syntax/postscr.vim92
1 files changed, 45 insertions, 47 deletions
diff --git a/runtime/syntax/postscr.vim b/runtime/syntax/postscr.vim
index 5b0b4421f..00418f577 100644
--- a/runtime/syntax/postscr.vim
+++ b/runtime/syntax/postscr.vim
@@ -724,58 +724,56 @@ endif " GhostScript highlighting
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
-
-HiLink postscrComment Comment
-
-HiLink postscrConstant Constant
-HiLink postscrString String
-HiLink postscrASCIIString postscrString
-HiLink postscrHexString postscrString
-HiLink postscrASCII85String postscrString
-HiLink postscrNumber Number
-HiLink postscrInteger postscrNumber
-HiLink postscrHex postscrNumber
-HiLink postscrRadix postscrNumber
-HiLink postscrFloat Float
-HiLink postscrBoolean Boolean
-
-HiLink postscrIdentifier Identifier
-HiLink postscrProcedure Function
-
-HiLink postscrName Statement
-HiLink postscrConditional Conditional
-HiLink postscrRepeat Repeat
-HiLink postscrL2Repeat postscrRepeat
-HiLink postscrOperator Operator
-HiLink postscrL1Operator postscrOperator
-HiLink postscrL2Operator postscrOperator
-HiLink postscrL3Operator postscrOperator
-HiLink postscrMathOperator postscrOperator
-HiLink postscrLogicalOperator postscrOperator
-HiLink postscrBinaryOperator postscrOperator
-
-HiLink postscrDSCComment SpecialComment
-HiLink postscrSpecialChar SpecialChar
-
-HiLink postscrTodo Todo
-
-HiLink postscrError Error
-HiLink postscrSpecialCharError postscrError
-HiLink postscrASCII85CharError postscrError
-HiLink postscrHexCharError postscrError
-HiLink postscrASCIIStringError postscrError
-HiLink postscrIdentifierError postscrError
+
+hi def link postscrComment Comment
+
+hi def link postscrConstant Constant
+hi def link postscrString String
+hi def link postscrASCIIString postscrString
+hi def link postscrHexString postscrString
+hi def link postscrASCII85String postscrString
+hi def link postscrNumber Number
+hi def link postscrInteger postscrNumber
+hi def link postscrHex postscrNumber
+hi def link postscrRadix postscrNumber
+hi def link postscrFloat Float
+hi def link postscrBoolean Boolean
+
+hi def link postscrIdentifier Identifier
+hi def link postscrProcedure Function
+
+hi def link postscrName Statement
+hi def link postscrConditional Conditional
+hi def link postscrRepeat Repeat
+hi def link postscrL2Repeat postscrRepeat
+hi def link postscrOperator Operator
+hi def link postscrL1Operator postscrOperator
+hi def link postscrL2Operator postscrOperator
+hi def link postscrL3Operator postscrOperator
+hi def link postscrMathOperator postscrOperator
+hi def link postscrLogicalOperator postscrOperator
+hi def link postscrBinaryOperator postscrOperator
+
+hi def link postscrDSCComment SpecialComment
+hi def link postscrSpecialChar SpecialChar
+
+hi def link postscrTodo Todo
+
+hi def link postscrError Error
+hi def link postscrSpecialCharError postscrError
+hi def link postscrASCII85CharError postscrError
+hi def link postscrHexCharError postscrError
+hi def link postscrASCIIStringError postscrError
+hi def link postscrIdentifierError postscrError
if exists("postscr_ghostscript")
-HiLink postscrGSOperator postscrOperator
-HiLink postscrGSMathOperator postscrMathOperator
+hi def link postscrGSOperator postscrOperator
+hi def link postscrGSMathOperator postscrMathOperator
else
-HiLink postscrGSOperator postscrError
-HiLink postscrGSMathOperator postscrError
+hi def link postscrGSOperator postscrError
+hi def link postscrGSMathOperator postscrError
endif
-delcommand HiLink
let b:current_syntax = "postscr"