annotate runtime/syntax/rebol.vim @ 17348:d82b0cfb1e82 v8.1.1673

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