diff runtime/syntax/postscr.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 11b656e74444
line wrap: on
line diff
--- 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
+hi def link 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
+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
 
-HiLink postscrIdentifier      Identifier
-HiLink postscrProcedure       Function
+hi def link postscrIdentifier      Identifier
+hi def link 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
+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
 
-HiLink postscrDSCComment      SpecialComment
-HiLink postscrSpecialChar     SpecialChar
+hi def link postscrDSCComment      SpecialComment
+hi def link postscrSpecialChar     SpecialChar
 
-HiLink postscrTodo            Todo
+hi def link postscrTodo            Todo
 
-HiLink postscrError           Error
-HiLink postscrSpecialCharError postscrError
-HiLink postscrASCII85CharError postscrError
-HiLink postscrHexCharError    postscrError
-HiLink postscrASCIIStringError postscrError
-HiLink postscrIdentifierError postscrError
+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"