summaryrefslogtreecommitdiff
path: root/runtime/syntax/tads.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-31 22:22:10 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-31 22:22:10 +0200
commitf37506f60f87d52a9e8850e30067645e2b13783c (patch)
treea11d81f91e6ccb82f9ccdde6ad426ffbbaf3940f /runtime/syntax/tads.vim
parentc628fdcd46e93c308f742efdf54248695960e290 (diff)
downloadvim-git-f37506f60f87d52a9e8850e30067645e2b13783c.tar.gz
Updated runtime files. Remove HiLink commands.
Diffstat (limited to 'runtime/syntax/tads.vim')
-rw-r--r--runtime/syntax/tads.vim74
1 files changed, 36 insertions, 38 deletions
diff --git a/runtime/syntax/tads.vim b/runtime/syntax/tads.vim
index 0f63bea2f..23a65b99e 100644
--- a/runtime/syntax/tads.vim
+++ b/runtime/syntax/tads.vim
@@ -120,48 +120,46 @@ execute "syn sync maxlines=" . tads_sync_dist
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
-command -nargs=+ HiLink hi def link <args>
" The default methods for highlighting. Can be overridden later
-HiLink tadsFunctionDef Function
-HiLink tadsFunction Structure
-HiLink tadsClass Structure
-HiLink tadsClassDef Identifier
-HiLink tadsObjectDef Identifier
+hi def link tadsFunctionDef Function
+hi def link tadsFunction Structure
+hi def link tadsClass Structure
+hi def link tadsClassDef Identifier
+hi def link tadsObjectDef Identifier
" no highlight for tadsEmbedded, so it prints as normal text w/in the string
-HiLink tadsOperator Operator
-HiLink tadsStructure Structure
-HiLink tadsTodo Todo
-HiLink tadsLabel Label
-HiLink tadsConditional Conditional
-HiLink tadsRepeat Repeat
-HiLink tadsException Exception
-HiLink tadsStatement Statement
-HiLink tadsStorageClass StorageClass
-HiLink tadsKeyWord Keyword
-HiLink tadsSpecial SpecialChar
-HiLink tadsNumber Number
-HiLink tadsBoolean Boolean
-HiLink tadsDoubleString tadsString
-HiLink tadsSingleString tadsString
-
-HiLink tadsOctalError tadsError
-HiLink tadsCommentError tadsError
-HiLink tadsBraceError tadsError
-HiLink tadsInBrace tadsError
-HiLink tadsError Error
-
-HiLink tadsInclude Include
-HiLink tadsPreProc PreProc
-HiLink tadsDefine Macro
-HiLink tadsIncluded tadsString
-HiLink tadsPreCondit PreCondit
-
-HiLink tadsString String
-HiLink tadsComment Comment
-
-delcommand HiLink
+hi def link tadsOperator Operator
+hi def link tadsStructure Structure
+hi def link tadsTodo Todo
+hi def link tadsLabel Label
+hi def link tadsConditional Conditional
+hi def link tadsRepeat Repeat
+hi def link tadsException Exception
+hi def link tadsStatement Statement
+hi def link tadsStorageClass StorageClass
+hi def link tadsKeyWord Keyword
+hi def link tadsSpecial SpecialChar
+hi def link tadsNumber Number
+hi def link tadsBoolean Boolean
+hi def link tadsDoubleString tadsString
+hi def link tadsSingleString tadsString
+
+hi def link tadsOctalError tadsError
+hi def link tadsCommentError tadsError
+hi def link tadsBraceError tadsError
+hi def link tadsInBrace tadsError
+hi def link tadsError Error
+
+hi def link tadsInclude Include
+hi def link tadsPreProc PreProc
+hi def link tadsDefine Macro
+hi def link tadsIncluded tadsString
+hi def link tadsPreCondit PreCondit
+
+hi def link tadsString String
+hi def link tadsComment Comment
+
let b:current_syntax = "tads"