annotate runtime/syntax/natural.vim @ 8107:925df1bbc05c

Added tag v7.4.1347 for changeset 58505cbea7e5df7a6e6b694a18db47123cfae2ec
author Christian Brabandt <cb@256bit.org>
date Thu, 18 Feb 2016 20:45:05 +0100
parents b37888de599c
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 "
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
3 " Language: NATURAL
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
4 " Version: 2.1.0.5
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
5 " Maintainer: Marko von Oppen <marko@von-oppen.com>
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
6 " Last Changed: 2012-02-05 18:50:43
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
7 " Support: http://www.von-oppen.com/
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 this syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if v:version < 600
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
12 syntax clear
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
13 set iskeyword+=-,*,#,+,_,/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 elseif exists("b:current_syntax")
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
15 finish
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 else
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
17 setlocal iskeyword+=-,*,#,+,_,/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
20 let s:cpo_save = &cpo
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
21 set cpo&vim
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
22
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " NATURAL is case insensitive
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syntax case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " preprocessor
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
27 syn keyword naturalInclude include nextgroup=naturalObjName skipwhite
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " define data
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
30 syn keyword naturalKeyword define data end-define
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
31 syn keyword naturalKeyword independent global parameter local redefine view
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
32 syn keyword naturalKeyword const[ant] init initial
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " loops
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
35 syn keyword naturalLoop read end-read end-work find end-find histogram end-histogram
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
36 syn keyword naturalLoop end-all sort end-sort sorted descending ascending
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
37 syn keyword naturalRepeat repeat end-repeat while until for step end-for
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
38 syn keyword naturalKeyword in file with field starting from ending at thru by isn where
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
39 syn keyword naturalError on error end-error
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
40 syn keyword naturalKeyword accept reject end-enddata number unique retain as release
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
41 syn keyword naturalKeyword start end-start break end-break physical page top sequence
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
42 syn keyword naturalKeyword end-toppage end-endpage end-endfile before processing
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
43 syn keyword naturalKeyword end-before
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 " conditionals
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword naturalConditional if then else end-if end-norec
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword naturalConditional decide end-decide value when condition none any
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " assignment / calculation
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
50 syn keyword naturalKeyword reset assign move left right justified compress to into edited
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
51 syn keyword naturalKeyword add subtract multiply divide compute name
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
52 syn keyword naturalKeyword all giving remainder rounded leaving space numeric
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
53 syn keyword naturalKeyword examine full replace giving separate delimiter modified
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
54 syn keyword naturalKeyword suspend identical suppress
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 " program flow
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
57 syn keyword naturalFlow callnat fetch return enter escape bottom top stack formatted
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
58 syn keyword naturalFlow command call
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
59 syn keyword naturalflow end-subroutine routine
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 " file operations
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
62 syn keyword naturalKeyword update store get delete end transaction work once close
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " other keywords
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
65 syn keyword naturalKeyword first every of no record[s] found ignore immediate
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
66 syn keyword naturalKeyword set settime key control stop terminate
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 " in-/output
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
69 syn keyword naturalKeyword write display input reinput notitle nohdr map newpage
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
70 syn keyword naturalKeyword alarm text help eject index window base size
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
71 syn keyword naturalKeyword format printer skip lines
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 " functions
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
74 syn keyword naturalKeyword abs atn cos exp frac int log sgn sin sqrt tan val old
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
75 syn keyword naturalKeyword pos
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 " report mode keywords
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword naturalRMKeyword same loop obtain indexed do doend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 " Subroutine name
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
81 syn keyword naturalFlow perform subroutine nextgroup=naturalFunction skipwhite
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
82 syn match naturalFunction "\<[a-z][-_a-z0-9]*\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
84 syn keyword naturalFlow using nextgroup=naturalKeyword,naturalObjName skipwhite
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
85 syn match naturalObjName "\<[a-z][-_a-z0-9]\{,7}\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 " Labels
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
88 syn match naturalLabel "\<[+#a-z][-_#a-z0-9]*\."
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
89 syn match naturalRef "\<[+#a-z][-_#a-z0-9]*\>\.\<[+#a-z][*]\=[-_#a-z0-9]*\>"
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
90
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
91 " mark keyword special handling
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
92 syn keyword naturalKeyword mark nextgroup=naturalMark skipwhite
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
93 syn match naturalMark "\<\*[a-z][-_#.a-z0-9]*\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 " System variables
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
96 syn match naturalSysVar "\<\*[a-z][-a-z0-9]*\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 "integer number, or floating point number without a dot.
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
99 syn match naturalNumber "\<-\=\d\+\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 "floating point number, with dot
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
101 syn match naturalNumber "\<-\=\d\+\.\d\+\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 "floating point number, starting with a dot
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
103 syn match naturalNumber "\.\d\+"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 " Formats in write statement
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
106 syn match naturalFormat "\<\d\+[TX]\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 " String and Character contstants
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
109 syn match naturalString "H'\x\+'"
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
110 syn region naturalString start=+"+ end=+"+
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
111 syn region naturalString start=+'+ end=+'+
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 " Type definition
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
114 syn match naturalAttribute "\<[-a-z][a-z]=[-a-z0-9_\.,]\+\>"
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
115 syn match naturalType contained "\<[ABINP]\d\+\(,\d\+\)\=\>"
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
116 syn match naturalType contained "\<[CL]\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 " "TODO" / other comments
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
119 syn keyword naturalTodo contained todo test
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
120 syn match naturalCommentMark contained "[a-z][^ \t/:|]*\(\s[^ \t/:'"|]\+\)*:\s"he=e-1
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 " comments
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
123 syn region naturalComment start="/\*" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
124 syn region naturalComment start="^\*[ *]" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
125 syn region naturalComment start="^\d\{4} \*[\ \*]"lc=5 end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
126 syn match naturalComment "^\*$"
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
127 syn match naturalComment "^\d\{4} \*$"lc=5
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 " /* is legal syntax in parentheses e.g. "#ident(label./*)"
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
129 syn region naturalPComment contained start="/\*\s*[^),]" end="$" contains=naturalTodo,naturalLineRef,naturalCommentMark
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 " operators
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
132 syn keyword naturalOperator and or not eq ne gt lt ge le mask scan modified
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 " constants
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
135 syn keyword naturalBoolean true false
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
136 syn match naturalLineNo "^\d\{4}"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 " identifiers
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
139 syn match naturalIdent "\<[+#a-z][-_#a-z0-9]*\>[^\.']"me=e-1
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
140 syn match naturalIdent "\<[+#a-z][-_#a-z0-9]*$"
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
141 syn match naturalLegalIdent "[+#a-z][-_#a-z0-9]*/[-_#a-z0-9]*"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 " parentheses
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
144 syn region naturalPar matchgroup=naturalParGui start="(" end=")" contains=naturalLabel,naturalRef,naturalOperator,@naturalConstant,naturalType,naturalSysVar,naturalPar,naturalLineNo,naturalPComment
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
145 syn match naturalLineRef "(\d\{4})"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 " build syntax groups
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syntax cluster naturalConstant contains=naturalString,naturalNumber,naturalAttribute,naturalBoolean
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 " folding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 if v:version >= 600
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
152 set foldignore=*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 if v:version >= 508 || !exists("did_natural_syntax_inits")
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
157 if v:version < 508
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
158 let did_natural_syntax_inits = 1
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
159 command -nargs=+ HiLink hi link <args>
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
160 else
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
161 command -nargs=+ HiLink hi def link <args>
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
162 endif
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
163 " The default methods for highlighting. Can be overridden later
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
165 " Constants
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
166 HiLink naturalFormat Constant
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
167 HiLink naturalAttribute Constant
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
168 HiLink naturalNumber Number
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
169 HiLink naturalString String
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
170 HiLink naturalBoolean Boolean
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
172 " All kinds of keywords
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
173 HiLink naturalConditional Conditional
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
174 HiLink naturalRepeat Repeat
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
175 HiLink naturalLoop Repeat
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
176 HiLink naturalFlow Keyword
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
177 HiLink naturalError Keyword
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
178 HiLink naturalKeyword Keyword
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
179 HiLink naturalOperator Operator
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
180 HiLink naturalParGui Operator
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
182 " Labels
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
183 HiLink naturalLabel Label
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
184 HiLink naturalRefLabel Label
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
186 " Comments
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
187 HiLink naturalPComment Comment
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
188 HiLink naturalComment Comment
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
189 HiLink naturalTodo Todo
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
190 HiLink naturalCommentMark PreProc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
192 HiLink naturalInclude Include
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
193 HiLink naturalSysVar Identifier
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
194 HiLink naturalLineNo LineNr
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
195 HiLink naturalLineRef Error
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
196 HiLink naturalSpecial Special
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
197 HiLink naturalComKey Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
199 " illegal things
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
200 HiLink naturalRMKeyword Error
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
201 HiLink naturalLegalIdent Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
203 HiLink naturalType Type
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
204 HiLink naturalFunction Function
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
205 HiLink naturalObjName PreProc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 7
diff changeset
207 delcommand HiLink
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 let b:current_syntax = "natural"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211
3356
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
212 let &cpo = s:cpo_save
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
213 unlet s:cpo_save
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
214
b37888de599c Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
215 " vim:set ts=8 sw=8 noet ft=vim list: