annotate runtime/syntax/nanorc.vim @ 32057:aa66dedd891c v9.0.1360

patch 9.0.1360: Cue files are not recognized Commit: https://github.com/vim/vim/commit/80c5b2c0f78b24e52c73bb162dda3ad85acd7e82 Author: Amaan Qureshi <amaanq12@gmail.com> Date: Mon Feb 27 14:32:08 2023 +0000 patch 9.0.1360: Cue files are not recognized Problem: Cue files are not recognized. Solution: Add patterns for Cue files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12067)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Feb 2023 15:45:03 +0100
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: nanorc(5) - GNU nano configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
4 " Latest Revision: 2006-04-19
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
5
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
6 if exists("b:current_syntax")
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
7 finish
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
8 endif
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
9
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
10 let s:cpo_save = &cpo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
11 set cpo&vim
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
12
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
13 syn keyword nanorcTodo contained TODO FIXME XXX NOTE
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
14
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
15 syn region nanorcComment display oneline start='^\s*#' end='$'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
16 \ contains=nanorcTodo,@Spell
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
17
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
18 syn match nanorcBegin display '^'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
19 \ nextgroup=nanorcKeyword,nanorcComment
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
20 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
21
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
22 syn keyword nanorcKeyword contained set unset
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
23 \ nextgroup=nanorcBoolOption,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
24 \ nanorcStringOption,nanorcNumberOption
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
25 \ skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
26
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
27 syn keyword nanorcKeyword contained syntax
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
28 \ nextgroup=nanorcSynGroupName skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
29
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
30 syn keyword nanorcKeyword contained color
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
31 \ nextgroup=@nanorcFGColor skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
32
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
33 syn keyword nanorcBoolOption contained autoindent backup const cut
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
34 \ historylog morespace mouse multibuffer
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
35 \ noconvert nofollow nohelp nowrap preserve
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
36 \ rebinddelete regexp smarthome smooth suspend
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
37 \ tempfile view
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
38
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
39 syn keyword nanorcStringOption contained backupdir brackets operatingdir
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
40 \ punct quotestr speller whitespace
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
41 \ nextgroup=nanorcString skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
42
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
43 syn keyword nanorcNumberOption contained fill tabsize
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
44 \ nextgroup=nanorcNumber skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
45
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
46 syn region nanorcSynGroupName contained display oneline start=+"+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
47 \ end=+"\ze\%([[:blank:]]\|$\)+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
48 \ nextgroup=nanorcRegexes skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
49
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
50 syn match nanorcString contained display '".*"'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
51
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
52 syn region nanorcRegexes contained display oneline start=+"+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
53 \ end=+"\ze\%([[:blank:]]\|$\)+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
54 \ nextgroup=nanorcRegexes skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
55
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
56 syn match nanorcNumber contained display '[+-]\=\<\d\+\>'
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
57
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
58 syn cluster nanorcFGColor contains=nanorcFGWhite,nanorcFGBlack,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
59 \ nanorcFGRed,nanorcFGBlue,nanorcFGGreen,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
60 \ nanorcFGYellow,nanorcFGMagenta,nanorcFGCyan,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
61 \ nanorcFGBWhite,nanorcFGBBlack,nanorcFGBRed,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
62 \ nanorcFGBBlue,nanorcFGBGreen,nanorcFGBYellow,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
63 \ nanorcFGBMagenta,nanorcFGBCyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
64
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
65 syn keyword nanorcFGWhite contained white
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
66 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
67
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
68 syn keyword nanorcFGBlack contained black
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
69 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
70
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
71 syn keyword nanorcFGRed contained red
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
72 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
73
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
74 syn keyword nanorcFGBlue contained blue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
75 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
76
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
77 syn keyword nanorcFGGreen contained green
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
78 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
79
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
80 syn keyword nanorcFGYellow contained yellow
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
81 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
82
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
83 syn keyword nanorcFGMagenta contained magenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
84 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
85
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
86 syn keyword nanorcFGCyan contained cyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
87 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
88
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
89 syn keyword nanorcFGBWhite contained brightwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
90 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
91
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
92 syn keyword nanorcFGBBlack contained brightblack
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
93 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
94
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
95 syn keyword nanorcFGBRed contained brightred
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
96 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
97
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
98 syn keyword nanorcFGBBlue contained brightblue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
99 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
100
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
101 syn keyword nanorcFGBGreen contained brightgreen
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
102 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
103
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
104 syn keyword nanorcFGBYellow contained brightyellow
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
105 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
106
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
107 syn keyword nanorcFGBMagenta contained brightmagenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
108 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
109
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
110 syn keyword nanorcFGBCyan contained brightcyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
111 \ nextgroup=@nanorcFGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
112
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
113 syn cluster nanorcBGColor contains=nanorcBGWhite,nanorcBGBlack,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
114 \ nanorcBGRed,nanorcBGBlue,nanorcBGGreen,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
115 \ nanorcBGYellow,nanorcBGMagenta,nanorcBGCyan,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
116 \ nanorcBGBWhite,nanorcBGBBlack,nanorcBGBRed,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
117 \ nanorcBGBBlue,nanorcBGBGreen,nanorcBGBYellow,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
118 \ nanorcBGBMagenta,nanorcBGBCyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
119
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
120 syn keyword nanorcBGWhite contained white
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
121 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
122
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
123 syn keyword nanorcBGBlack contained black
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
124 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
125
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
126 syn keyword nanorcBGRed contained red
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
127 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
128
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
129 syn keyword nanorcBGBlue contained blue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
130 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
131
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
132 syn keyword nanorcBGGreen contained green
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
133 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
134
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
135 syn keyword nanorcBGYellow contained yellow
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
136 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
137
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
138 syn keyword nanorcBGMagenta contained magenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
139 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
140
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
141 syn keyword nanorcBGCyan contained cyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
142 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
143
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
144 syn keyword nanorcBGBWhite contained brightwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
145 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
146
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
147 syn keyword nanorcBGBBlack contained brightblack
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
148 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
149
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
150 syn keyword nanorcBGBRed contained brightred
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
151 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
152
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
153 syn keyword nanorcBGBBlue contained brightblue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
154 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
155
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
156 syn keyword nanorcBGBGreen contained brightgreen
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
157 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
158
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
159 syn keyword nanorcBGBYellow contained brightyellow
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
160 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
161
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
162 syn keyword nanorcBGBMagenta contained brightmagenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
163 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
164
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
165 syn keyword nanorcBGBCyan contained brightcyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
166 \ nextgroup=@nanorcBGSpec skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
167
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
168 syn match nanorcBGColorSep contained ',' nextgroup=@nanorcBGColor
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
169
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
170 syn cluster nanorcFGSpec contains=nanorcBGColorSep,nanorcRegexes,
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
171 \ nanorcStartRegion
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
172
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
173 syn cluster nanorcBGSpec contains=nanorcRegexes,nanorcStartRegion
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
174
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
175 syn keyword nanorcStartRegion contained start nextgroup=nanorcStartRegionEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
176
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
177 syn match nanorcStartRegionEq contained '=' nextgroup=nanorcRegion
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
178
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
179 syn region nanorcRegion contained display oneline start=+"+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
180 \ end=+"\ze\%([[:blank:]]\|$\)+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
181 \ nextgroup=nanorcEndRegion skipwhite
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
182
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
183 syn keyword nanorcEndRegion contained end nextgroup=nanorcStartRegionEq
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
184
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
185 syn match nanorcEndRegionEq contained '=' nextgroup=nanorcRegex
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
186
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
187 syn region nanorcRegex contained display oneline start=+"+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
188 \ end=+"\ze\%([[:blank:]]\|$\)+
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
189
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
190 hi def link nanorcTodo Todo
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
191 hi def link nanorcComment Comment
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
192 hi def link nanorcKeyword Keyword
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
193 hi def link nanorcBoolOption Identifier
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
194 hi def link nanorcStringOption Identifier
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
195 hi def link nanorcNumberOption Identifier
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
196 hi def link nanorcSynGroupName String
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
197 hi def link nanorcString String
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
198 hi def link nanorcRegexes nanorcString
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
199 hi def link nanorcNumber Number
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
200 hi def nanorcFGWhite ctermfg=Gray guifg=Gray
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
201 hi def nanorcFGBlack ctermfg=Black guifg=Black
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
202 hi def nanorcFGRed ctermfg=DarkRed guifg=DarkRed
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
203 hi def nanorcFGBlue ctermfg=DarkBlue guifg=DarkBlue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
204 hi def nanorcFGGreen ctermfg=DarkGreen guifg=DarkGreen
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
205 hi def nanorcFGYellow ctermfg=Brown guifg=Brown
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
206 hi def nanorcFGMagenta ctermfg=DarkMagenta guifg=DarkMagenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
207 hi def nanorcFGCyan ctermfg=DarkCyan guifg=DarkCyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
208 hi def nanorcFGBWhite ctermfg=White guifg=White
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
209 hi def nanorcFGBBlack ctermfg=DarkGray guifg=DarkGray
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
210 hi def nanorcFGBRed ctermfg=Red guifg=Red
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
211 hi def nanorcFGBBlue ctermfg=Blue guifg=Blue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
212 hi def nanorcFGBGreen ctermfg=Green guifg=Green
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
213 hi def nanorcFGBYellow ctermfg=Yellow guifg=Yellow
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
214 hi def nanorcFGBMagenta ctermfg=Magenta guifg=Magenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
215 hi def nanorcFGBCyan ctermfg=Cyan guifg=Cyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
216 hi def link nanorcBGColorSep Normal
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
217 hi def nanorcBGWhite ctermbg=Gray guibg=Gray
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
218 hi def nanorcBGBlack ctermbg=Black guibg=Black
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
219 hi def nanorcBGRed ctermbg=DarkRed guibg=DarkRed
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
220 hi def nanorcBGBlue ctermbg=DarkBlue guibg=DarkBlue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
221 hi def nanorcBGGreen ctermbg=DarkGreen guibg=DarkGreen
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
222 hi def nanorcBGYellow ctermbg=Brown guibg=Brown
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
223 hi def nanorcBGMagenta ctermbg=DarkMagenta guibg=DarkMagenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
224 hi def nanorcBGCyan ctermbg=DarkCyan guibg=DarkCyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
225 hi def nanorcBGBWhite ctermbg=White guibg=White
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
226 hi def nanorcBGBBlack ctermbg=DarkGray guibg=DarkGray
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
227 hi def nanorcBGBRed ctermbg=Red guibg=Red
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
228 hi def nanorcBGBBlue ctermbg=Blue guibg=Blue
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
229 hi def nanorcBGBGreen ctermbg=Green guibg=Green
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
230 hi def nanorcBGBYellow ctermbg=Yellow guibg=Yellow
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
231 hi def nanorcBGBMagenta ctermbg=Magenta guibg=Magenta
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
232 hi def nanorcBGBCyan ctermbg=Cyan guibg=Cyan
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
233 hi def link nanorcStartRegion Type
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
234 hi def link nanorcStartRegionEq Operator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
235 hi def link nanorcRegion nanorcString
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
236 hi def link nanorcEndRegion Type
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
237 hi def link nanorcEndRegionEq Operator
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
238 hi def link nanorcRegex nanoRegexes
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
239
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
240 let b:current_syntax = "nanorc"
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
241
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
242 let &cpo = s:cpo_save
4fe8e1a7758e updated for version 7.0102
vimboss
parents:
diff changeset
243 unlet s:cpo_save