annotate runtime/syntax/rebol.vim @ 6262:452e8b2a0ab3 v7.4.465

updated for version 7.4.465 Problem: Crash when expanding a very long string. Solution: Use wsncpy() instead of wcscpy(). (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Tue, 07 Oct 2014 10:38:40 +0200
parents 3fc0f57ecb91
children 43efa4f5a8ea
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: Rebol
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Mike Williams <mrw@eandem.co.uk>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Filenames: *.r
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last Change: 27th June 2002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://www.eandem.co.uk/mrw/vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " For version 5.x: Clear all syntax items
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " For version 6.x: Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " Rebol is case insensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " As per current users documentation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 set isk=@,48-57,?,!,.,',+,-,*,&,\|,=,_,~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 setlocal isk=@,48-57,?,!,.,',+,-,*,&,\|,=,_,~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " Yer TODO highlighter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword rebolTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match rebolComment ";.*$" contains=rebolTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " Words
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match rebolWord "\a\k*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn match rebolWordPath "[^[:space:]]/[^[:space]]"ms=s+1,me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " Booleans
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword rebolBoolean true false on off yes no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 " Values
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 " Integers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match rebolInteger "\<[+-]\=\d\+\('\d*\)*\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 " Decimals
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match rebolDecimal "[+-]\=\(\d\+\('\d*\)*\)\=[,.]\d*\(e[+-]\=\d\+\)\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match rebolDecimal "[+-]\=\d\+\('\d*\)*\(e[+-]\=\d\+\)\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 " Time
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match rebolTime "[+-]\=\(\d\+\('\d*\)*\:\)\{1,2}\d\+\('\d*\)*\([.,]\d\+\)\=\([AP]M\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match rebolTime "[+-]\=:\d\+\([.,]\d*\)\=\([AP]M\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " Dates
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 " DD-MMM-YY & YYYY format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match rebolDate "\d\{1,2}\([/-]\)\(Jan\|Feb\|Mar\|Apr\|May\|Jun\|Jul\|Aug\|Sep\|Oct\|Nov\|Dec\)\1\(\d\{2}\)\{1,2}\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 " DD-month-YY & YYYY format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match rebolDate "\d\{1,2}\([/-]\)\(January\|February\|March\|April\|May\|June\|July\|August\|September\|October\|November\|December\)\1\(\d\{2}\)\{1,2}\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 " DD-MM-YY & YY format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match rebolDate "\d\{1,2}\([/-]\)\d\{1,2}\1\(\d\{2}\)\{1,2}\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 " YYYY-MM-YY format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match rebolDate "\d\{4}-\d\{1,2}-\d\{1,2}\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 " DD.MM.YYYY format
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match rebolDate "\d\{1,2}\.\d\{1,2}\.\d\{4}\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " Money
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match rebolMoney "\a*\$\d\+\('\d*\)*\([,.]\d\+\)\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 " Strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn region rebolString oneline start=+"+ skip=+^"+ end=+"+ contains=rebolSpecialCharacter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn region rebolString start=+[^#]{+ end=+}+ skip=+{[^}]*}+ contains=rebolSpecialCharacter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 " Binary
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn region rebolBinary start=+\d*#{+ end=+}+ contains=rebolComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 " Email
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match rebolEmail "\<\k\+@\(\k\+\.\)*\k\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 " File
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match rebolFile "%\(\k\+/\)*\k\+[/]\=" contains=rebolSpecialCharacter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn region rebolFile oneline start=+%"+ end=+"+ contains=rebolSpecialCharacter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 " URLs
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn match rebolURL "http://\k\+\(\.\k\+\)*\(:\d\+\)\=\(/\(\k\+/\)*\(\k\+\)\=\)*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn match rebolURL "file://\k\+\(\.\k\+\)*/\(\k\+/\)*\k\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn match rebolURL "ftp://\(\k\+:\k\+@\)\=\k\+\(\.\k\+\)*\(:\d\+\)\=/\(\k\+/\)*\k\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match rebolURL "mailto:\k\+\(\.\k\+\)*@\k\+\(\.\k\+\)*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 " Issues
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match rebolIssue "#\(\d\+-\)*\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 " Tuples
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match rebolTuple "\(\d\+\.\)\{2,}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 " Characters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match rebolSpecialCharacter contained "\^[^[:space:][]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn match rebolSpecialCharacter contained "%\d\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 " Operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 " Math operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match rebolMathOperator "\(\*\{1,2}\|+\|-\|/\{1,2}\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword rebolMathFunction abs absolute add arccosine arcsine arctangent cosine
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn keyword rebolMathFunction divide exp log-10 log-2 log-e max maximum min
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn keyword rebolMathFunction minimum multiply negate power random remainder sine
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn keyword rebolMathFunction square-root subtract tangent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 " Binary operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn keyword rebolBinaryOperator complement and or xor ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 " Logic operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn match rebolLogicOperator "[<>=]=\="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn match rebolLogicOperator "<>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn keyword rebolLogicOperator not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn keyword rebolLogicFunction all any
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn keyword rebolLogicFunction head? tail?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn keyword rebolLogicFunction negative? positive? zero? even? odd?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn keyword rebolLogicFunction binary? block? char? date? decimal? email? empty?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn keyword rebolLogicFunction file? found? function? integer? issue? logic? money?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn keyword rebolLogicFunction native? none? object? paren? path? port? series?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn keyword rebolLogicFunction string? time? tuple? url? word?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn keyword rebolLogicFunction exists? input? same? value?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 " Datatypes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn keyword rebolType binary! block! char! date! decimal! email! file!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn keyword rebolType function! integer! issue! logic! money! native!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn keyword rebolType none! object! paren! path! port! string! time!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn keyword rebolType tuple! url! word!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn keyword rebolTypeFunction type?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 " Control statements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn keyword rebolStatement break catch exit halt reduce return shield
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn keyword rebolConditional if else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn keyword rebolRepeat for forall foreach forskip loop repeat while until do
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 " Series statements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn keyword rebolStatement change clear copy fifth find first format fourth free
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn keyword rebolStatement func function head insert last match next parse past
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn keyword rebolStatement pick remove second select skip sort tail third trim length?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 " Context
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword rebolStatement alias bind use
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 " Object
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn keyword rebolStatement import make make-object rebol info?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 " I/O statements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn keyword rebolStatement delete echo form format import input load mold prin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn keyword rebolStatement print probe read save secure send write
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword rebolOperator size? modified?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 " Debug statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword rebolStatement help probe trace
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 " Misc statements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn keyword rebolStatement func function free
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 " Constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn keyword rebolConstant none
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 " Define the default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 " For version 5.7 and earlier: only when not done already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 " For version 5.8 and later: only when an item doesn't have highlighting yet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 if version >= 508 || !exists("did_rebol_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 let did_rebol_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 command -nargs=+ HiLink hi def link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 HiLink rebolTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 HiLink rebolStatement Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 HiLink rebolLabel Label
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 HiLink rebolConditional Conditional
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 HiLink rebolRepeat Repeat
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 HiLink rebolOperator Operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 HiLink rebolLogicOperator rebolOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 HiLink rebolLogicFunction rebolLogicOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 HiLink rebolMathOperator rebolOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 HiLink rebolMathFunction rebolMathOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 HiLink rebolBinaryOperator rebolOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 HiLink rebolBinaryFunction rebolBinaryOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 HiLink rebolType Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 HiLink rebolTypeFunction rebolOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 HiLink rebolWord Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 HiLink rebolWordPath rebolWord
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 HiLink rebolFunction Function
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 HiLink rebolCharacter Character
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 HiLink rebolSpecialCharacter SpecialChar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 HiLink rebolString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 HiLink rebolNumber Number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 HiLink rebolInteger rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 HiLink rebolDecimal rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 HiLink rebolTime rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 HiLink rebolDate rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 HiLink rebolMoney rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 HiLink rebolBinary rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 HiLink rebolEmail rebolString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 HiLink rebolFile rebolString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 HiLink rebolURL rebolString
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 HiLink rebolIssue rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 HiLink rebolTuple rebolNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 HiLink rebolFloat Float
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 HiLink rebolBoolean Boolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 HiLink rebolConstant Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 HiLink rebolComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 HiLink rebolError Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 if exists("my_rebol_file")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 if file_readable(expand(my_rebol_file))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 execute "source " . my_rebol_file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 let b:current_syntax = "rebol"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 " vim: ts=8