annotate runtime/syntax/natural.vim @ 33240:45da656d550e v9.0.1893

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