annotate runtime/syntax/rexx.vim @ 32470:63305439430b

Added tag v9.0.1566 for changeset 8899c91cb8470f591d06e00f43b0363cde148839
author Bram Moolenaar <Bram@vim.org>
date Thu, 18 May 2023 21:15:04 +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: Rexx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Thomas Geulig <geulig@nentec.de>
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
4 " Last Change: 2012 Sep 14, added support for new ooRexx 4.0 features
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
5 " URL: http://www.geulig.de/vim/rexx.vim
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
6 " Special Thanks to Dan Sharp <dwsharp@hotmail.com> and Rony G. Flatscher
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
7 " <Rony.Flatscher@wu-wien.ac.at> for comments and additions
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3893
diff changeset
9 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3893
diff changeset
10 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
16 " add to valid identifier chars
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
17 setlocal iskeyword+=.
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
18 setlocal iskeyword+=!
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
19 setlocal iskeyword+=?
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
20
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
21 " ---rgf, position important: must be before comments etc. !
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
22 syn match rexxOperator "[=|\/\\\+\*\[\],;:<>&\~%\-]"
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
23
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
24 " rgf syn match rexxIdentifier "\<[a-zA-Z\!\?_]\([a-zA-Z0-9._?!]\)*\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
25 syn match rexxIdentifier "\<\K\k*\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
26 syn match rexxEnvironmentSymbol "\<\.\k\+\>"
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
27
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " A Keyword is the first symbol in a clause. A clause begins at the start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " of a line or after a semicolon. THEN, ELSE, OTHERWISE, and colons are always
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " followed by an implied semicolon.
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
31 syn match rexxClause "\(^\|;\|:\|then \|else \|when \|otherwise \)\s*\S*" contains=ALLBUT,rexxParse2,rexxRaise2,rexxForward2
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " Considered keywords when used together in a phrase and begin a clause
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
34 syn match rexxParse "\<parse\s*\(\(upper\|lower\|caseless\)\s*\)\?\(arg\|linein\|pull\|source\|var\|\<value\>\|version\)\>" containedin=rexxClause contains=rexxParse2
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
35 syn match rexxParse2 "\<with\>" containedin=rexxParse
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
36
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match rexxKeyword contained "\<numeric \(digits\|form \(scientific\|engineering\|value\)\|fuzz\)\>"
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
38 syn match rexxKeyword contained "\<\(address\|trace\)\( value\)\?\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
39 syn match rexxKeyword contained "\<procedure\(\s*expose\)\?\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
40
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
41 syn match rexxKeyword contained "\<\(do\|loop\)\>\(\s\+label\s\+\k*\)\?\(\s\+forever\)\?\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
42 syn match rexxKeyword contained "\<use\>\s*\(strict\s*\)\?\<arg\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 " Another keyword phrase, separated to aid highlighting in rexxFunction
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
45 syn match rexxRegularCallSignal contained "\<\(call\|signal\)\s\(\s*on\>\|\s*off\>\)\@!\(\k\+\ze\|\ze(\)\(\s*\|;\|$\|(\)"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
46 syn region rexxLabel contained start="\<\(call\|signal\)\>\s*\zs\(\k*\|(\)" end="\ze\(\s*\|;\|$\|(\)" containedin=rexxRegularCallSignal
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
47
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
48 syn match rexxExceptionHandling contained "\<\(call\|signal\)\>\s\+\<\(on\|off\)\>.*\(;\|$\)" contains=rexxComment
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
49
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
50 " hilite label given after keyword "name"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
51 syn match rexxLabel "name\s\+\zs\k\+\ze" containedin=rexxExceptionHandling
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
52 " hilite condition name (serves as label)
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
53 syn match rexxLabel "\<\(call\|signal\)\>\s\+\<\(on\|off\)\>\s*\zs\k\+\ze\s*\(;\|$\)" containedin=rexxExceptionHandling
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
54 " user exception handling, hilite user defined name
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
55 syn region rexxLabel contained start="user\s\+\zs\k" end="\ze\(\s\|;\|$\)" containedin=rexxExceptionHandling
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 " Considered keywords when they begin a clause
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
58 syn match rexxKeywordStatements "\<\(arg\|catch\|do\|drop\|end\|exit\|expose\|finally\|forward\|if\|interpret\|iterate\|leave\|loop\|nop\)\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
59 syn match rexxKeywordStatements "\<\(options\|pull\|push\|queue\|raise\|reply\|return\|say\|select\|trace\)\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
60
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
61 " Conditional keywords starting a new statement
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
62 syn match rexxConditional "\<\(then\|else\|when\|otherwise\)\(\s*\|;\|\_$\|\)\>" contains=rexxKeywordStatements
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " Conditional phrases
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
65 syn match rexxLoopKeywords "\<\(to\|by\|for\|until\|while\|over\)\>" containedin=doLoopSelectLabelRegion
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
66
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
67 " must be after Conditional phrases!
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
68 syn match doLoopSelectLabelRegion "\<\(do\|loop\|select\)\>\s\+\(label\s\+\)\?\(\s\+\k\+\s\+\zs\<over\>\)\?\k*\(\s\+forever\)\?\(\s\|;\|$\)" contains=doLoopSelectLabelRegion,rexxStartValueAssignment,rexxLoopKeywords
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
69
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
70 " color label's name
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
71 syn match rexxLabel2 "\<\(do\|loop\|select\)\>\s\+label\s\+\zs\k*\ze" containedin=doLoopSelectLabelRegion
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
72
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
73 " make sure control variable is normal
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
74 " TODO: re-activate ?
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
75 "rgf syn match rexxControlVariable "\<\(do\|loop\)\>\(\s\+label\s\+\k*\)\?\s\+\zs.*\ze\s\+\<over\>" containedin=doLoopSelectLabelRegion
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
76
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
77 " make sure control variable assignment is normal
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
78 syn match rexxStartValueAssignment "\<\(do\|loop\)\>\(\s\+label\s\+\k*\)\?\s\+\zs.*\ze\(=.*\)\?\s\+\<to\>" containedin=doLoopSelectLabelRegion
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
79
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
80 " highlight label name
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
81 syn match endIterateLeaveLabelRegion "\<\(end\|leave\|iterate\)\>\(\s\+\K\k*\)" contains=rexxLabel2
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
82 syn match rexxLabel2 "\<\(end\|leave\|iterate\)\>\s\+\zs\k*\ze" containedin=endIterateLeaveLabelRegion
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
83
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
84 " Guard statement
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
85 syn match rexxGuard "\(^\|;\|:\)\s*\<guard\>\s\+\<\(on\|off\)\>"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
86
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
87 " Trace statement
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
88 syn match rexxTrace "\(^\|;\|:\)\s*\<trace\>\s\+\<\K\k*\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
90 " Raise statement
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
91 " syn match rexxRaise "\(^\|;\|:\)\s\+\<raise\>\s*\<\(propagate\|error\|failure\|syntax\|user\)\>\?" contains=rexxRaise2
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
92 syn match rexxRaise "\(^\|;\|:\)\s*\<raise\>\s*\<\(propagate\|error\|failure\|syntax\|user\)\>\?" contains=rexxRaise2
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
93 syn match rexxRaise2 "\<\(additional\|array\|description\|exit\|propagate\|return\)\>" containedin=rexxRaise
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
94
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
95 " Forward statement
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
96 syn match rexxForward "\(^\|;\|:\)\<forward\>\s*" contains=rexxForward2
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
97 syn match rexxForward2 "\<\(arguments\|array\|continue\|message\|class\|to\)\>" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 " Functions/Procedures
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
100 syn match rexxFunction "\<\<[a-zA-Z\!\?_]\k*\>("me=e-1
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
101 syn match rexxFunction "[()]"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 " String constants
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
104 syn region rexxString start=+"+ skip=+""+ end=+"\(x\|b\)\?+ oneline
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
105 syn region rexxString start=+'+ skip=+''+ end=+'\(x\|b\)\?+ oneline
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
107 syn region rexxParen transparent start='(' end=')' contains=ALLBUT,rexxParenError,rexxTodo,rexxLabel,rexxKeyword
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 " Catch errors caused by wrong parenthesis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn match rexxParenError ")"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn match rexxInParen "[\\[\\]{}]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 " Comments
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
113 syn region rexxComment start="/\*" end="\*/" contains=rexxTodo,rexxComment
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
114 syn match rexxCommentError "\*/"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
115 syn region rexxLineComment start="--" end="\_$" oneline
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
116
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
117 " Highlight User Labels
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
118 " check for labels between comments, labels stated in a statement in the middle of a line
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
119 syn match rexxLabel "\(\_^\|;\)\s*\(\/\*.*\*\/\)*\s*\k\+\s*\(\/\*.*\*\/\)*\s*:"me=e-1 contains=rexxTodo,rexxComment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn keyword rexxTodo contained TODO FIXME XXX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
123 " ooRexx messages
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
124 syn region rexxMessageOperator start="\(\~\|\~\~\)" end="\(\S\|\s\)"me=e-1
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
125 syn match rexxMessage "\(\~\|\~\~\)\s*\<\.*[a-zA-Z]\([a-zA-Z0-9._?!]\)*\>" contains=rexxMessageOperator
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
126
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
127 " line continuations, take care of (line-)comments after it
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
128 syn match rexxLineContinue ",\ze\s*\(--.*\|\/\*.*\)*$"
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
129
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
130 " the following is necessary, otherwise three consecutive dashes will cause it to highlight the first one
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
131 syn match rexxLineContinue "-\ze-\@!\s*\(--.*\|\s*\/\*.*\)\?$"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 " Special Variables
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
134 syn keyword rexxSpecialVariable sigl rc result self super
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
135 syn keyword rexxSpecialVariable .environment .error .input .local .methods .output .rs .stderr .stdin .stdout .stdque
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
136
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
137 " Constants
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
138 syn keyword rexxConst .true .false .nil .endOfLine .line .context
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
139
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
140 " Rexx numbers
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
141 " int like number
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
142 syn match rexxNumber '\d\+' contained
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
143 syn match rexxNumber '[-+]\s*\d\+' contained
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
144
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
145 " Floating point number with decimal
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
146 syn match rexxNumber '\d\+\.\d*' contained
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
147 syn match rexxNumber '[-+]\s*\d\+\.\d*' contained
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
148
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
149 " Floating point like number with E
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
150 syn match rexxNumber '[-+]\s*\d*[eE][\-+]\d\+' contained
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
151 syn match rexxNumber '\d*[eE][\-+]\d\+' contained
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
152
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
153 " Floating point like number with E and decimal point (+,-)
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
154 syn match rexxNumber '[-+]\s*\d*\.\d*[eE][\-+]\d\+' contained
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
155 syn match rexxNumber '\d*\.\d*[eE][\-+]\d\+' contained
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
156
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
157
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
158 " ooRexx builtin classes (as of version 3.2.0, fall 2007), first define dot to be o.k. in keywords
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
159 syn keyword rexxBuiltinClass .Alarm .ArgUtil .Array .Bag .CaselessColumnComparator
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
160 syn keyword rexxBuiltinClass .CaselessComparator .CaselessDescendingComparator .CircularQueue
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
161 syn keyword rexxBuiltinClass .Class .Collection .ColumnComparator .Comparable .Comparator
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
162 syn keyword rexxBuiltinClass .DateTime .DescendingComparator .Directory .File .InputOutputStream
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
163 syn keyword rexxBuiltinClass .InputStream .InvertingComparator .List .MapCollection
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
164 syn keyword rexxBuiltinClass .Message .Method .Monitor .MutableBuffer .Object
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
165 syn keyword rexxBuiltinClass .OrderedCollection .OutputStream .Package .Properties .Queue
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
166 syn keyword rexxBuiltinClass .RegularExpression .Relation .RexxContext .RexxQueue .Routine
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
167 syn keyword rexxBuiltinClass .Set .SetCollection .Stem .Stream
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
168 syn keyword rexxBuiltinClass .StreamSupplier .String .Supplier .Table .TimeSpan
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
169
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
170 " Windows-only classes
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
171 syn keyword rexxBuiltinClass .AdvancedControls .AnimatedButton .BaseDialog .ButtonControl
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
172 syn keyword rexxBuiltinClass .CategoryDialog .CheckBox .CheckList .ComboBox .DialogControl
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
173 syn keyword rexxBuiltinClass .DialogExtensions .DlgArea .DlgAreaU .DynamicDialog
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
174 syn keyword rexxBuiltinClass .EditControl .InputBox .IntegerBox .ListBox .ListChoice
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
175 syn keyword rexxBuiltinClass .ListControl .MenuObject .MessageExtensions .MultiInputBox
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
176 syn keyword rexxBuiltinClass .MultiListChoice .OLEObject .OLEVariant
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
177 syn keyword rexxBuiltinClass .PasswordBox .PlainBaseDialog .PlainUserDialog
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
178 syn keyword rexxBuiltinClass .ProgressBar .ProgressIndicator .PropertySheet .RadioButton
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
179 syn keyword rexxBuiltinClass .RcDialog .ResDialog .ScrollBar .SingleSelection .SliderControl
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
180 syn keyword rexxBuiltinClass .StateIndicator .StaticControl .TabControl .TimedMessage
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
181 syn keyword rexxBuiltinClass .TreeControl .UserDialog .VirtualKeyCodes .WindowBase
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
182 syn keyword rexxBuiltinClass .WindowExtensions .WindowObject .WindowsClassesBase .WindowsClipboard
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
183 syn keyword rexxBuiltinClass .WindowsEventLog .WindowsManager .WindowsProgramManager .WindowsRegistry
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
184
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
185 " BSF4ooRexx classes
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
186 syn keyword rexxBuiltinClass .BSF .bsf.dialog .bsf_proxy
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
187 syn keyword rexxBuiltinClass .UNO .UNO_ENUM .UNO_CONSTANTS .UNO_PROPERTIES
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
188
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
189 " ooRexx directives, ---rgf location important, otherwise directives in top of file not matched!
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
190 syn region rexxClassDirective start="::\s*class\s*"ms=e+1 end="\ze\(\s\|;\|$\)"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
191 syn region rexxMethodDirective start="::\s*method\s*"ms=e+1 end="\ze\(\s\|;\|$\)"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
192 syn region rexxRequiresDirective start="::\s*requires\s*"ms=e+1 end="\ze\(\s\|;\|$\)"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
193 syn region rexxRoutineDirective start="::\s*routine\s*"ms=e+1 end="\ze\(\s\|;\|$\)"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
194 syn region rexxAttributeDirective start="::\s*attribute\s*"ms=e+1 end="\ze\(\s\|;\|$\)"
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
195 " rgf, 2012-09-09
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
196 syn region rexxOptionsDirective start="::\s*options\s*"ms=e+1 end="\ze\(\s\|;\|$\)"
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
197 syn region rexxConstantDirective start="::\s*constant\s*"ms=e+1 end="\ze\(\s\|;\|$\)"
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
198
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
199 syn region rexxDirective start="\(^\|;\)\s*::\s*\w\+" end="\($\|;\)" contains=rexxString,rexxNumber,rexxComment,rexxLineComment,rexxClassDirective,rexxMethodDirective,rexxRoutineDirective,rexxRequiresDirective,rexxAttributeDirective,rexxOptionsDirective,rexxConstantDirective keepend
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
200
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
201 syn match rexxOptionsDirective2 "\<\(digits\|form\|fuzz\|trace\)\>" containedin = rexxOptionsDirective3
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
202 syn region rexxOptionsDirective3 start="\(^\|;\)\s*::\s*options\s"ms=e+1 end="\($\|;\)" contains=rexxString,rexxNumber,rexxVariable,rexxComment,rexxLineComment containedin = rexxDirective
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
203
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
204
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
205 syn region rexxVariable start="\zs\<\(\.\)\@!\K\k\+\>\ze\s*\(=\|,\|)\|%\|\]\|\\\||\|&\|+=\|-=\|<\|>\)" end="\(\_$\|.\)"me=e-1
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
206 syn match rexxVariable "\(=\|,\|)\|%\|\]\|\\\||\|&\|+=\|-=\|<\|>\)\s*\zs\K\k*\ze"
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
207
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
208 " rgf, 2007-07-22: unfortunately, the entire region is colored (not only the
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
209 " patterns), hence useless (vim 7.0)! (syntax-docs hint that that should work)
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
210 " attempt: just colorize the parenthesis in matching colors, keep content
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
211 " transparent to keep the formatting already done to it!
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
212 " TODO: test on 7.3
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
213 " syn region par1 matchgroup=par1 start="(" matchgroup=par1 end=")" transparent contains=par2
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
214 " syn region par2 matchgroup=par2 start="(" matchgroup=par2 end=")" transparent contains=par3 contained
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
215 " syn region par3 matchgroup=par3 start="(" matchgroup=par3 end=")" transparent contains=par4 contained
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
216 " syn region par4 matchgroup=par4 start="(" matchgroup=par4 end=")" transparent contains=par5 contained
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
217 " syn region par5 matchgroup=par5 start="(" matchgroup=par5 end=")" transparent contains=par1 contained
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
218
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
219 " this will colorize the entire region, removing any colorizing already done!
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
220 " syn region par1 matchgroup=par1 start="(" end=")" contains=par2
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
221 " syn region par2 matchgroup=par2 start="(" end=")" contains=par3 contained
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
222 " syn region par3 matchgroup=par3 start="(" end=")" contains=par4 contained
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
223 " syn region par4 matchgroup=par4 start="(" end=")" contains=par5 contained
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
224 " syn region par5 matchgroup=par5 start="(" end=")" contains=par1 contained
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
225
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
226 hi par1 ctermfg=red guifg=red "guibg=grey
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
227 hi par2 ctermfg=blue guifg=blue "guibg=grey
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
228 hi par3 ctermfg=darkgreen guifg=darkgreen "guibg=grey
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
229 hi par4 ctermfg=darkyellow guifg=darkyellow "guibg=grey
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
230 hi par5 ctermfg=darkgrey guifg=darkgrey "guibg=grey
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
232 " line continuation (trailing comma or single dash)
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
233 syn sync linecont "\(,\|-\ze-\@!\)\ze\s*\(--.*\|\/\*.*\)*$"
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
234
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
235 " if !exists("rexx_minlines")
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
236 " let rexx_minlines = 500
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
237 " endif
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
238 " exec "syn sync ccomment rexxComment minlines=" . rexx_minlines
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
239
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
240 " always scan from start, PCs have long become to be powerful enough for that
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
241 exec "syn sync fromstart"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3893
diff changeset
244 " Only when an item doesn't have highlighting yet
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3893
diff changeset
245
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3893
diff changeset
246 " make binary and hex strings stand out
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3893
diff changeset
247 hi rexxStringConstant term=bold,underline ctermfg=5 cterm=bold guifg=darkMagenta gui=bold
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
249 hi def link rexxLabel2 Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
250 hi def link doLoopSelectLabelRegion rexxKeyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
251 hi def link endIterateLeaveLabelRegion rexxKeyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
252 hi def link rexxLoopKeywords rexxKeyword " Todo
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
253
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
254 hi def link rexxNumber Normal "DiffChange
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
255 " hi def link rexxIdentifier DiffChange
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
256
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
257 hi def link rexxRegularCallSignal Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
258 hi def link rexxExceptionHandling Statement
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
259
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
260 hi def link rexxLabel Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
261 hi def link rexxCharacter Character
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
262 hi def link rexxParenError rexxError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
263 hi def link rexxInParen rexxError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
264 hi def link rexxCommentError rexxError
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
265 hi def link rexxError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
266 hi def link rexxKeyword Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
267 hi def link rexxKeywordStatements Statement
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
268
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
269 hi def link rexxFunction Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
270 hi def link rexxString String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
271 hi def link rexxComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
272 hi def link rexxTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
273 hi def link rexxSpecialVariable Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
274 hi def link rexxConditional rexxKeyword
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
276 hi def link rexxOperator Operator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
277 hi def link rexxMessageOperator rexxOperator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
278 hi def link rexxLineComment Comment
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
279
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
280 hi def link rexxLineContinue WildMenu
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
281
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
282 hi def link rexxDirective rexxKeyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
283 hi def link rexxClassDirective Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
284 hi def link rexxMethodDirective rexxFunction
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
285 hi def link rexxAttributeDirective rexxFunction
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
286 hi def link rexxRequiresDirective Include
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
287 hi def link rexxRoutineDirective rexxFunction
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
288
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
289 " rgf, 2012-09-09
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
290 hi def link rexxOptionsDirective rexxFunction
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
291 hi def link rexxOptionsDirective2 rexxOptionsDirective
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
292 hi def link rexxOptionsDirective3 Normal " rexxOptionsDirective
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
293
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
294 hi def link rexxConstantDirective rexxFunction
3893
c3036f1dca68 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
295
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
296 hi def link rexxConst Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
297 hi def link rexxTypeSpecifier Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
298 hi def link rexxBuiltinClass rexxTypeSpecifier
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
299
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
300 hi def link rexxEnvironmentSymbol rexxConst
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
301 hi def link rexxMessage rexxFunction
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
302
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
303 hi def link rexxParse rexxKeyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
304 hi def link rexxParse2 rexxParse
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
305
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
306 hi def link rexxGuard rexxKeyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
307 hi def link rexxTrace rexxKeyword
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 826
diff changeset
308
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
309 hi def link rexxRaise rexxKeyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
310 hi def link rexxRaise2 rexxRaise
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
311
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
312 hi def link rexxForward rexxKeyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
313 hi def link rexxForward2 rexxForward
826
1cdd2661f34c updated for version 7.0d01
vimboss
parents: 7
diff changeset
314
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 let b:current_syntax = "rexx"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 "vim: ts=8