annotate runtime/syntax/tads.vim @ 14487:336213a840d9 v8.1.0257

patch 8.1.0257: no test for pathshorten() commit https://github.com/vim/vim/commit/bfde0b482d25db43e9fc5a35c771b859b1eb8828 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 8 22:27:31 2018 +0200 patch 8.1.0257: no test for pathshorten() Problem: No test for pathshorten(). Solution: Add a test. (Dominique Pelle, closes https://github.com/vim/vim/issues/3295)
author Christian Brabandt <cb@256bit.org>
date Wed, 08 Aug 2018 22:30:05 +0200
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: TADS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Amir Karger <karger@post.harvard.edu>
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
4 " $Date: 2004/06/13 19:28:45 $
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
5 " $Revision: 1.1 $
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Stolen from: Bram Moolenaar's C language file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Newest version at: http://www.hec.utah.edu/~karger/vim/syntax/tads.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " History info at the bottom of the file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " TODO lots more keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " global, self, etc. are special *objects*, not functions. They should
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " probably be a different color than the special functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " Actually, should cvtstr etc. be functions?! (change tadsFunction)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Make global etc. into Identifiers, since we don't have regular variables?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
16 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
17 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " A bunch of useful keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn keyword tadsStatement goto break return continue pass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword tadsLabel case default
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword tadsConditional if else switch
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword tadsRepeat while for do
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword tadsStorageClass local compoundWord formatstring specialWords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword tadsBoolean nil true
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " TADS keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn keyword tadsKeyword replace modify
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword tadsKeyword global self inherited
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 " builtin functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn keyword tadsKeyword cvtstr cvtnum caps lower upper substr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword tadsKeyword say length
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword tadsKeyword setit setscore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn keyword tadsKeyword datatype proptype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword tadsKeyword car cdr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword tadsKeyword defined isclass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword tadsKeyword find firstobj nextobj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn keyword tadsKeyword getarg argcount
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword tadsKeyword input yorn askfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword tadsKeyword rand randomize
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword tadsKeyword restart restore quit save undo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn keyword tadsException abort exit exitobj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword tadsTodo contained TODO FIXME XXX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 " String and Character constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " Highlight special characters (those which have a backslash) differently
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match tadsSpecial contained "\\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn region tadsDoubleString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=tadsSpecial,tadsEmbedded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn region tadsSingleString start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=tadsSpecial
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 " Embedded expressions in strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn region tadsEmbedded contained start="<<" end=">>" contains=tadsKeyword
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 " TADS doesn't have \xxx, right?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 "syn match cSpecial contained "\\[0-7][0-7][0-7]\=\|\\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 "syn match cSpecialCharacter "'\\[0-7][0-7]'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 "syn match cSpecialCharacter "'\\[0-7][0-7][0-7]'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 "catch errors caused by wrong parenthesis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 "syn region cParen transparent start='(' end=')' contains=ALLBUT,cParenError,cIncluded,cSpecial,cTodo,cUserCont,cUserLabel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 "syn match cParenError ")"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 "syn match cInParen contained "[{}]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn region tadsBrace transparent start='{' end='}' contains=ALLBUT,tadsBraceError,tadsIncluded,tadsSpecial,tadsTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match tadsBraceError "}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 "integer number (TADS has no floating point numbers)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match tadsNumber "\<[0-9]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 "hex number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match tadsNumber "\<0x[0-9a-f]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn match tadsIdentifier "\<[a-z][a-z0-9_$]*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 " flag an octal number with wrong digits
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match tadsOctalError "\<0[0-7]*[89]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 " Removed complicated c_comment_strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn region tadsComment start="/\*" end="\*/" contains=tadsTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match tadsComment "//.*" contains=tadsTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syntax match tadsCommentError "\*/"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn region tadsPreCondit start="^\s*#\s*\(if\>\|ifdef\>\|ifndef\>\|elif\>\|else\>\|endif\>\)" skip="\\$" end="$" contains=tadsComment,tadsString,tadsNumber,tadsCommentError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn region tadsIncluded contained start=+"+ skip=+\\\\\|\\"+ end=+"+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match tadsIncluded contained "<[^>]*>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match tadsInclude "^\s*#\s*include\>\s*["<]" contains=tadsIncluded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn region tadsDefine start="^\s*#\s*\(define\>\|undef\>\)" skip="\\$" end="$" contains=ALLBUT,tadsPreCondit,tadsIncluded,tadsInclude,tadsDefine,tadsInBrace,tadsIdentifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn region tadsPreProc start="^\s*#\s*\(pragma\>\|line\>\|warning\>\|warn\>\|error\>\)" skip="\\$" end="$" contains=ALLBUT,tadsPreCondit,tadsIncluded,tadsInclude,tadsDefine,tadsInParen,tadsIdentifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 " Highlight User Labels
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 " TODO labels for gotos?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 "syn region cMulti transparent start='?' end=':' contains=ALLBUT,cIncluded,cSpecial,cTodo,cUserCont,cUserLabel,cBitField
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 " Avoid matching foo::bar() in C++ by requiring that the next char is not ':'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 "syn match cUserCont "^\s*\I\i*\s*:$" contains=cUserLabel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 "syn match cUserCont ";\s*\I\i*\s*:$" contains=cUserLabel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 "syn match cUserCont "^\s*\I\i*\s*:[^:]" contains=cUserLabel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 "syn match cUserCont ";\s*\I\i*\s*:[^:]" contains=cUserLabel
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 "syn match cUserLabel "\I\i*" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 " identifier: class-name [, class-name [...]] [property-list] ;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 " Don't highlight comment in class def
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn match tadsClassDef "\<class\>[^/]*" contains=tadsObjectDef,tadsClass
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn match tadsClass contained "\<class\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn match tadsObjectDef "\<[a-zA-Z][a-zA-Z0-9_$]*\s*:\s*[a-zA-Z0-9_$]\+\(\s*,\s*[a-zA-Z][a-zA-Z0-9_$]*\)*\(\s*;\)\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword tadsFunction contained function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn match tadsFunctionDef "\<[a-zA-Z][a-zA-Z0-9_$]*\s*:\s*function[^{]*" contains=tadsFunction
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 "syn region tadsObject transparent start = '[a-zA-Z][\i$]\s*:\s*' end=";" contains=tadsBrace,tadsObjectDef
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 " How far back do we go to find matching groups
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 if !exists("tads_minlines")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 let tads_minlines = 15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 exec "syn sync ccomment tadsComment minlines=" . tads_minlines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 if !exists("tads_sync_dist")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 let tads_sync_dist = 100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 execute "syn sync maxlines=" . tads_sync_dist
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
122 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 2034
diff changeset
124 " The default methods for highlighting. Can be overridden later
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
125 hi def link tadsFunctionDef Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
126 hi def link tadsFunction Structure
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
127 hi def link tadsClass Structure
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
128 hi def link tadsClassDef Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
129 hi def link tadsObjectDef Identifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 " no highlight for tadsEmbedded, so it prints as normal text w/in the string
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
132 hi def link tadsOperator Operator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
133 hi def link tadsStructure Structure
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
134 hi def link tadsTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
135 hi def link tadsLabel Label
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
136 hi def link tadsConditional Conditional
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
137 hi def link tadsRepeat Repeat
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
138 hi def link tadsException Exception
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
139 hi def link tadsStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
140 hi def link tadsStorageClass StorageClass
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
141 hi def link tadsKeyWord Keyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
142 hi def link tadsSpecial SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
143 hi def link tadsNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
144 hi def link tadsBoolean Boolean
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
145 hi def link tadsDoubleString tadsString
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
146 hi def link tadsSingleString tadsString
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
148 hi def link tadsOctalError tadsError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
149 hi def link tadsCommentError tadsError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
150 hi def link tadsBraceError tadsError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
151 hi def link tadsInBrace tadsError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
152 hi def link tadsError Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
154 hi def link tadsInclude Include
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
155 hi def link tadsPreProc PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
156 hi def link tadsDefine Macro
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
157 hi def link tadsIncluded tadsString
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
158 hi def link tadsPreCondit PreCondit
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
160 hi def link tadsString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
161 hi def link tadsComment Comment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 let b:current_syntax = "tads"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 " Changes:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 " 11/18/99 Added a bunch of TADS functions, tadsException
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 " 10/22/99 Misspelled Moolenaar (sorry!), c_minlines to tads_minlines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 " vim: ts=8