updates
[dotfiles.git] / nano / syntax.nanorc
1 syntax "awk" "\.awk$"
2 header "^#!.*bin/(env +)?awk( |$)"
3
4 color brightyellow "\$[A-Za-z0-9_!@#$*?-]+"
5 color brightyellow "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
6 color brightyellow "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
7 color brightyellow "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
8 color brightblue "\<(function|extension|BEGIN|END)\>"
9 color red "[-+*/%^|!=&<>?;:]|\\|\[|\]"
10 color brightblack "\<(for|if|while|do|else|in|delete|exit)\>"
11 color brightblack "\<(break|continue|return)\>"
12 color brightblue "\<(close|getline|next|nextfile|print|printf|system|fflush)\>"
13 color brightblue "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
14 color brightblue "\<(asort|asorti|gensub|gsub|index|length|match)\>"
15 color brightblue "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
16 color brightblue "\<(mktime|strftime|systime)\>"
17 color brightblue "\<(and|compl|lshift|or|rshift|xor)\>"
18 color brightblue "\<(bindtextdomain|dcgettext|dcngettext)\>"
19 color magenta "/.*[^\]/"
20 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
21 color magenta "\\."
22 color cyan "(^|[[:space:]])#([^{].*)?$"
23 color brightwhite,cyan "TODO:?"
24 color ,green "[[:space:]]+$"
25 color ,red " + +| + +"
26 # +EXTRALINT
27 syntax "cmake" "CMakeLists\.txt$|\.cmake$"
28
29 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
30 color black "[(]"
31 color brightcyan "\<(ON|OFF|TRUE|FALSE|YES|NO)\>"
32 color brightyellow "\$\{[A-Za-z0-9_!@#$*?-]+\}"
33 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
34 color magenta "\\([()#$^]|\\|\")"
35 color cyan "(^|[[:space:]])#([^{].*)?$"
36 color ,green "[[:space:]]+$"
37 color ,red " + +| + +"
38 # +EXTRALINT
39 syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
40
41 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
42 color black "[(]"
43 color brightyellow "\<[A-Z_][0-9A-Z_]+\>"
44 color green "\<(float|double|bool|char|int|short|long|void|(un)?signed)\>"
45 color green "\<[a-z0-9_]+_t\>"
46 color brightblack "\<(struct|enum|static|const|union|typedef|extern)\>"
47 color brightblack "\<(for|if|while|do|else|case|default|switch)\>"
48 color brightblack "\<(return|inline|sizeof|auto|register|volatile|restrict)\>"
49 color brightblack "\<(try|throw|catch|operator|new|delete)\>"
50 color brightred "\<(goto|break|continue)\>"
51 color brightcyan "\<(true|false)\>"
52 color red "[-+/*=<>?:!~%&|^]"
53 color blue "\<([0-9]+|0x[0-9a-fA-F]*)\>|'.'"
54 color brightyellow "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)"
55 color magenta "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
56 color yellow ""(\\.|[^"])*"|<[A-Za-z_./-]+>"
57 color magenta "\\([\"'abfnrtv\\]|[0-3]?[0-7]{1,2}|x[A-Fa-f0-9]{1,2}|$)"
58 color cyan "(^|[[:space:]])//.*"
59 color cyan start="/\*" end="\*/"
60 color brightwhite,cyan "TODO:?"
61 color ,green "[[:space:]]+$"
62 color ,red " + +| + +"
63 # +EXTRALINT
64 syntax "coffeescript" "\.coffee$"
65 header "^#!.*/(env +)?coffee"
66
67 color red "[!&|=/*+-<>]|\<(and|or|is|isnt|not)\>"
68 color brightblue "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
69 color black "[()]"
70 color brightblack "\<(for|of|continue|break|isnt|null|unless|this|else|if|return)\>"
71 color brightblack "\<(try|catch|finally|throw|new|delete|typeof|in|instanceof)\>"
72 color brightblack "\<(debugger|switch|while|do|class|extends|super)\>"
73 color brightblack "\<(undefined|then|unless|until|loop|of|by|when)\>"
74 color brightcyan "\<(true|false|yes|no|on|off)\>"
75 color brightyellow "@[A-Za-z0-9_]*"
76 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
77 color cyan "(^|[[:space:]])#([^{].*)?$"
78 color ,green "[[:space:]]+$"
79 color ,red " + +| + +"
80 # +EXTRALINT
81 syntax "colortest" "ColorTest$"
82
83 color black "\<PLAIN\>"
84
85 color red "\<red\>"
86 color green "\<green\>"
87 color yellow "\<yellow\>"
88 color blue "\<blue\>"
89 color magenta "\<magenta\>"
90 color cyan "\<cyan\>"
91
92 color brightred "\<brightred\>"
93 color brightgreen "\<brightgreen\>"
94 color brightyellow "\<brightyellow\>"
95 color brightblue "\<brightblue\>"
96 color brightmagenta "\<brightmagenta\>"
97 color brightcyan "\<brightcyan\>"
98 syntax "c#" "\.cs$"
99
100 # Class
101 color brightmagenta "class +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
102
103 # Annotation
104 color magenta "@[A-Za-z]+"
105
106 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
107 color black "[(]"
108 color green "\<(bool|byte|sbyte|char|decimal|double|float|IntPtr|int|uint|long|ulong|object|short|ushort|string|base|this|var|void)\>"
109 color brightblack "\<(alias|as|case|catch|checked|default|do|dynamic|else|finally|fixed|for|foreach|goto|if|is|lock|new|null|return|switch|throw|try|unchecked|while)\>"
110 color brightblack "\<(abstract|async|class|const|delegate|enum|event|explicit|extern|get|implicit|in|internal|interface|namespace|operator|out|override|params|partial|private|protected|public|readonly|ref|sealed|set|sizeof|stackalloc|static|struct|typeof|unsafe|using|value|virtual|volatile|yield)\>"
111 # LINQ-only keywords (ones that cannot be used outside of a LINQ query - lots others can)
112 color brightblack "\<(from|where|select|group|info|orderby|join|let|in|on|equals|by|ascending|descending)\>"
113 color brightred "\<(break|continue)\>"
114 color brightcyan "\<(true|false)\>"
115 color red "[-+/*=<>?:!~%&|]"
116 color blue "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
117 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
118 color magenta "\\([btnfr]|'|\"|\\)"
119 color magenta "\\u[A-Fa-f0-9]{4}"
120 color cyan "(^|[[:space:]])//.*"
121 color cyan start="/\*" end="\*/"
122 color brightwhite,cyan "TODO:?"
123 color ,green "[[:space:]]+$"
124 color ,red " + +| + +"
125 # +EXTRALINT
126 syntax "css" "\.s?css$"
127
128 # Selectors
129 color green "\<(a|abbr|address|area|article|aside|audio|b|base|bdo|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|eventsource|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|mark|map|menu|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|ruby|rp|rt|samp|script|section|select|small|source|span|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|ul|var|video|wbr)\>"
130 color red "[>+~*]"
131 color brightyellow "[.#][A-Za-z_][A-Za-z0-9_-]*"
132 color red ":(active|focus|hover|link|visited|first-child|lang|valid|invalid|not|selection)\>"
133 color red ":(after|before|first-line|first-letter|root|target)\>"
134 color yellow "\[[^\[]*\]"
135 color black start="\{" end="\}"
136
137 # Sass
138 color brightmagenta "(^|[[:space:]])@(include|mixin)\>"
139 color brightyellow "\$[A-Za-z0-9_-]+"
140
141 color brightmagenta "(^|[[:space:]])@(charset|font-face|media|page|import)\>"
142 color red "[*]"
143 color brightcyan "\<(above|absolute|always|armenian|auto|avoid|baseline|behind|below|bidi-override|blink|block|bolder|bold|bottom|capitalize|center-left|center-right|center|circle|cjk-ideographic|close-quote|collapse|compact|condensed|continuous|crop|crosshair|cross|cue-after|cue-before|cursive|dashed|decimal|decimal-leading-zero|default|digits|disc|dotted|double|embed|e-resize|expanded|extra-condensed|extra-expanded|fantasy|far-left|far-right|faster|fast|fixed|fixed|georgian|groove|hebrew|help|hide|higher|high|hiragana-iroha|hiragana|inherit|inline|inline-block|inline-table|inset|inside|invert|italic|justify|katakana-iroha|katakana|landscape|large|larger|left|left-side|leftwards|level|lighter|line-through|list-item|loud|lower-alpha|lowercase|lower-greek|lower-latin|lower-roman|lower|low|ltr|marker|medium|medium|middle|mix|monospace|move|narrower|ne-resize|no-close-quote|none|no-open-quote|no-repeat|normal|nowrap|n-resize|nw-resize|oblique|once|open-quote|outset|outside|overline|pointer|portait|relative|repeat-x|repeat-y|repeat|ridge|right-side|right|rightwards|rlt|run-in|sans-serif|scroll|scroll|semi-condensed|semi-expanded|separate|se-resize|serif|show|silent|slower|slow|small-caps|smaller|small|soft|solid|spell-out|square|s-resize|static|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|text-bottom|text|text-top|thick|thin|top|top|transparent|ultra-condensed|ultra-expanded|underline|upper-alpha|uppercase|upper-latin|upper-roman|visible|wait|wider|w-resize|x-fast|x-high|x-large|x-loud|x-low|x-slow|x-small|x-soft|xx-large|xx-small|pre-wrap|break-word)([[:space:];,]|$)"
144 color brightyellow ":[[:space:]]*(code|hidden|table|pre)\>"
145 color brightblack "\<(background-attachment|background-clip|background-color|background-image|background-position|background-repeat|background|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-collapse|border-color|border-left-color|border-left-style|border-left-width|border-left|border-radius|border-right-color|border-right-style|border-right-width|border-right|border-spacing|border-style|border-top-color|border-top-style|border-top-width|border-top|border-width|border|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size-adjust|font-size|font-style|font-variant|font-weight|font|height|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|margin|marker-offset|marks|max-height|max-width|min-height|min-width|opacity|orphans|outline-color|outline-style|outline-width|outline|overflow|overflow-x|overflow-y|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page|pause-after|pause-before|pause|pitch-range|pitch|play-during|position|quotes|richness|right|size|speak-header|speak-numerical|speak-punctuation|speak|speech-rate|stress|table-layout|text-align|text-decoration|text-indent|text-shadow|text-transform|top|transition|unicode-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-spacing|word-wrap|z-index)[[:space:]]*:"
146 color brightwhite,red "-(ms|moz|apple|khtml|wap|webkit|o|xv)-[a-z][a-z-]+"
147 color black "[:;,]"
148 color blue "\<(0|[\+-]?[1-9][0-9]*)"
149 color blue "[\+-]?([0-9]+|[0-9]*\.[0-9]+)(%|e(m|x)|p(x|t|c)|in|ft|(m|c)m|k?Hz|deg|g?rad|m?s)"
150 color blue "#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})\>"
151 color red "\!important\>"
152 color brightblue "[a-z-]*(-[a-z]+)?\(" "\(|\)"
153 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
154 color cyan "(^|[[:space:]])//.*"
155 color cyan start="/\*" end="\*/"
156 color brightwhite,cyan "TODO:?"
157 color ,green "[[:space:]]+$"
158 color ,red " + +| + +"
159 # +EXTRALINT
160 syntax "cython" "\.(pyx|pxd|pyi)$"
161
162 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
163 color black "[(]"
164 color brightblack "\<(and|as|assert|break|class|continue|def|del|elif|else|except)\>"
165 color brightblack "\<(exec|finally|for|from|global|if|import|in|is|lambda|not|or)\>"
166 color brightblack "\<(pass|print|raise|return|try|while|with|yield|None)\>"
167 color brightblack "\<(DEF|ELIF|ELSE|IF)\>"
168
169 color brightblack "\<(cp?def( inline)?|cimport|cppclass|ctypedef|extern|include)\>"
170 color brightblack "\<(namespace|property|struct)\>"
171 color green "\<(bint|char|double|int|public|void|unsigned)\>"
172
173 color red "[.:;,+*|=!\%@<>/&-]"
174 color brightyellow "@[A-Za-z0-9_]+"
175 color brightmagenta "__[A-Za-z0-9_]+__"
176 color brightcyan "\<(True|False)\>"
177 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
178 color yellow "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
179 color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
180 color yellow start=""""[^"]" end="""""
181 color yellow start="'''[^']" end="'''"
182 color magenta "\\.?"
183 color cyan "(^|[[:space:]])#([^{].*)?$"
184 color brightwhite,cyan "TODO:?"
185 color ,green "[[:space:]]+$"
186 color ,red " + +| + +"
187 # +EXTRALINT
188 syntax "default"
189 color ,green "[[:space:]]+$"
190 color ,red " + +| + +"
191 # +EXTRALINT
192 syntax "dot" "\.(dot|gv)$"
193
194 color brightblack "\<(digraph|edge|graph|node|subgraph)\>"
195 color magenta "\<(arrowhead|arrowsize|arrowtail|bgcolor|center|color|constraint|decorateP|dir|distortion|fillcolor|fontcolor|fontname|fontsize|headclip|headlabel|height|labelangle|labeldistance|labelfontcolor|labelfontname|labelfontsize|label|layers|layer|margin|mclimit|minlen|name|nodesep|nslimit|ordering|orientation|pagedir|page|peripheries|port_label_distance|rankdir|ranksep|rank|ratio|regular|rotate|samehead|sametail|shapefile|shape|sides|size|skew|style|tailclip|taillabel|URL|weight|width)\>"
196 color red "=|->|--"
197 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
198 color cyan "(^|[[:space:]])//.*"
199 color cyan start="/\*" end="\*/"
200 syntax "email"
201
202 color magenta "^>([^>].*|$)"
203 color blue "^>>([^>].*|$)"
204 color green "^>>>.*"
205 syntax "gitconfig" "git(config|modules)$|\.git/config$"
206
207 color brightcyan "\<(true|false)\>"
208 color brightblack "^[[:space:]]*[^=]*="
209 color brightmagenta "^[[:space:]]*\[.*\]$"
210 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
211 color cyan "(^|[[:space:]])#([^{].*)?$"
212 color ,green "[[:space:]]+$"
213 color ,red " + +| + +"
214 # +EXTRALINT
215
216 syntax "git-editmsg" "(COMMIT|TAG)_EDITMSG$"
217
218 color cyan "^#.*$"
219 color ,red "[[:space:]]+$"
220
221 syntax "git-rebase" "git-rebase-todo$"
222
223 color brightblack "^(edit|fixup|pick|reword|squash|exec|[efprsx])\>"
224 color blue "\<[0-9a-f]{7,40}\>"
225 color cyan "^#.*"
226 syntax "glsl" "\.(frag|vert|fp|vp|glsl)$"
227
228 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
229 color black "[(]"
230 color green "\<(void|bool|bvec2|bvec3|bvec4|int|ivec2|ivec3|ivec4|float|vec2|vec3|vec4|mat2|mat3|mat4|struct|sampler1D|sampler2D|sampler3D|samplerCUBE|sampler1DShadow|sampler2DShadow)\>"
231 color green "\<gl_(DepthRangeParameters|PointParameters|MaterialParameters|LightSourceParameters|LightModelParameters|LightModelProducts|LightProducts|FogParameters)\>"
232 color brightblack "\<(const|attribute|varying|uniform|in|out|inout|if|else|return|discard|while|for|do)\>"
233 color brightred "\<(break|continue)\>"
234 color brightcyan "\<(true|false)\>"
235 color red "[-+/*=<>?:!~%&|^]"
236 color blue "\<([0-9]+|0x[0-9a-fA-F]*)\>"
237 color cyan "(^|[[:space:]])//.*"
238 color cyan start="/\*" end="\*/"
239 color brightwhite,cyan "TODO:?"
240 color ,green "[[:space:]]+$"
241 color ,red " + +| + +"
242 # +EXTRALINT
243 syntax "go" "\.go$"
244
245 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
246 color black "[(]"
247 color brightblue "\<(append|cap|close|complex|copy|delete|imag|len)\>"
248 color brightblue "\<(make|new|panic|print|println|protect|real|recover)\>"
249 color green "\<(u?int(8|16|32|64)?|float(32|64)|complex(64|128))\>"
250 color green "\<(uintptr|byte|rune|string|interface|bool|map|chan|error)\>"
251 color brightblack "\<(package|import|const|var|type|struct|func|go|defer|nil|iota)\>"
252 color brightblack "\<(for|range|if|else|case|default|switch|return)\>"
253 color brightred "\<(go|goto|break|continue)\>"
254 color brightcyan "\<(true|false)\>"
255 color red "[-+/*=<>!~%&|^]|:="
256 color blue "\<([0-9]+|0x[0-9a-fA-F]*)\>|'.'"
257 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
258 color magenta "\\[abfnrtv'\"\\]"
259 color magenta "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
260 color yellow "`[^`]*`"
261 color cyan "(^|[[:space:]])//.*"
262 color cyan start="/\*" end="\*/"
263 color brightwhite,cyan "TODO:?"
264 color ,green "[[:space:]]+$"
265 color ,red " + +| + +"
266 # +EXTRALINT
267 syntax "html" "\.html?$"
268 header "<!doctype html"
269
270 color magenta "\<(accept|accept-charset|accesskey|action|alt|async|autocomplete|autofocus|autoplay|border|challenge|charset|checked|cite|class|cols|colspan|content|contenteditable|contextmenu|controls|coords|crossorigin|data-[a-z-]+|datetime|default|defer|dir|dirname|disabled|draggable|dropzone|enctype|for|form|formaction|formenctype|formmethod|formnovalidate|formtarget|headers|height|hidden|high|href|hreflang|http-equiv|icon|id|ismap|keytype|kind|label|lang|list|loop|low|manifest|max|maxlength|media|mediagroup|method|min|multiple|muted|name|novalidate|open|optimum|pattern|placeholder|poster|preload|pubdate|radiogroup|readonly|rel|required|reversed|rows|rowspan|sandbox|spellcheck|scope|scoped|seamless|selected|shape|size|sizes|span|src|srcdoc|srclang|start|step|style|tabindex|target|title|type|typemustmatch|usemap|value|width|wrap)\>"
271 color brightwhite,red "</?[A-Za-z0-9_]+[ >]"
272 color brightmagenta "</?(a|abbr|address|area|article|aside|audio|b|base|bdo|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|eventsource|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|mark|map|menu|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|ruby|rp|rt|samp|script|section|select|small|source|span|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|ul|var|video|wbr)[ >]"
273 color yellow "=([A-Za-z0-9!$%*\^(){}#|:;_~@+,.?/\\-]|\[|\])+"
274 color red "="
275 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
276 color black start=">" end="<"
277 color brightmagenta "[<>]"
278
279 # Embedded template languages
280 color brightyellow "\{\{[^}]*\}\}|<%=.*%>"
281 color brightblue start="<\?" end="\?>"
282 color brightblue start="<%[^=]" end="%>"
283 color brightblue start="\{%" end="%\}"
284
285 color magenta "&(#[0-9]+|#x[0-9a-fA-F]+|[A-Za-z][A-Za-z0-9]*);"
286 color cyan start="<!--" end="-->"
287 color cyan "<!(doctype|DOCTYPE)[^>]*>"
288 color ,green "[[:space:]]+$"
289 color ,red " + +| + +"
290 # +EXTRALINT
291 syntax "ini" "\.(ini|desktop|lfl|override)$" "(mimeapps\.list|pinforc|setup\.cfg)$" "weechat/.+\.conf$"
292 header "^\[[A-Za-z]+\]$"
293
294 color brightcyan "\<(true|false)\>"
295 color brightblack "^[[:space:]]*[^=]*="
296 color brightmagenta "^[[:space:]]*\[.*\]$"
297 color red "[=;]"
298 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
299 color cyan "(^|[[:space:]])#([^{].*)?$"
300 color ,green "[[:space:]]+$"
301 color ,red " + +| + +"
302 # +EXTRALINT
303 syntax "inputrc" "inputrc$"
304
305 color red "\<(off|none)\>"
306 color green "\<on\>"
307 color brightblue "\<set|\$include\>"
308 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
309 color magenta "\\.?"
310 color cyan "(^|[[:space:]])#([^{].*)?$"
311 color ,green "[[:space:]]+$"
312 color ,red " + +| + +"
313 # +EXTRALINT
314 syntax "java" "\.java$"
315
316 # Class
317 color brightmagenta "class +[A-Za-z0-9]+ *((implements|extends) +[A-Za-z0-9.]+)?"
318
319 # Annotation
320 color magenta "@[A-Za-z]+"
321
322 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
323 color black "[(]"
324 color green "\<(boolean|byte|char|double|float|int|long|short|String|void)\>"
325 color brightblack "\<(case|catch|default|do|else|finally|for|if)\>"
326 color brightblack "\<(new|return|switch|this|throw|transient|try|while)\>"
327 color brightblack "\<(abstract|class|extends|final|implements|import|instanceof)\>"
328 color brightblack "\<(interface|native|package|private|protected|public|static)\>"
329 color brightblack "\<(strictfp|super|synchronized|throws|volatile|null)\>"
330 color brightred "\<(break|continue)\>"
331 color brightcyan "\<(true|false)\>"
332 color red "[-+/*=<>?:!~%&|]"
333 color blue "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
334 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
335 color magenta "\\([btnfr]|'|\"|\\)"
336 color magenta "\\u[A-Fa-f0-9]{4}"
337 color cyan "(^|[[:space:]])//.*"
338 color cyan start="/\*" end="\*/"
339 color brightwhite,cyan "TODO:?"
340 color ,green "[[:space:]]+$"
341 color ,red " + +| + +"
342 # +EXTRALINT
343 syntax "JavaScript" "\.js$"
344
345 color blue "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
346 color blue "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
347 color blue "\<[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
348 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
349 color black "[(]"
350 color brightblack "\<(break|case|catch|continue|default|delete|do|else|finally)\>"
351 color brightblack "\<(for|function|get|if|in|instanceof|new|return|set|switch)\>"
352 color brightblack "\<(switch|this|throw|try|typeof|var|void|while|with)\>"
353 color brightblack "\<(null|undefined|NaN)\>"
354 color brightcyan "\<(true|false)\>"
355 color green "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>"
356 color green "\<(Number|Object|RegExp|String)\>"
357 color red "[-+/*=<>!~%?:&|]"
358 color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*"
359 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
360 color magenta "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
361 color cyan "(^|[[:space:]])//.*"
362 color cyan start="/\*" end="\*/"
363 color brightwhite,cyan "TODO:?"
364 color ,green "[[:space:]]+$"
365 color ,red " + +| + +"
366 # +EXTRALINT
367 syntax "json" "\.json$"
368 header "^\{$"
369
370 color blue "\<[-]?[1-9][0-9]*([Ee][+-]?[0-9]+)?\>" "\<[-]?[0](\.[0-9]+)?\>"
371 color brightblack "\<null\>"
372 color brightcyan "\<(true|false)\>"
373 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
374 color brightyellow "\"(\\"|[^"])*\"[[:space:]]*:" "'(\'|[^'])*'[[:space:]]*:"
375 color magenta "\\u[0-9a-fA-F]{4}|\\[bfnrt'"/\\]"
376 color ,green "[[:space:]]+$"
377 color ,red " + +| + +"
378 # +EXTRALINT
379 syntax "keymap" "\.(k|key)?map$|Xmodmap$"
380
381 color brightblack "\<(add|clear|compose|keycode|keymaps|keysym|remove|string)\>"
382 color brightblack "\<(control|alt|shift)\>"
383 color blue "\<[0-9]+\>"
384 color red "="
385 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
386 color cyan "^!.*$"
387 color ,green "[[:space:]]+$"
388 color ,red " + +| + +"
389 # +EXTRALINT
390 syntax "KickStart" "\.ks$" "\.kickstart$"
391
392 color brightmagenta "%[a-z]+"
393 color brightblack "^[[:space:]]*(install|cdrom|text|graphical|volgroup|logvol|reboot|timezone|lang|keyboard|authconfig|firstboot|rootpw|user|firewall|selinux|repo|part|partition|clearpart|bootloader)"
394 color brightblack "--(name|mirrorlist|baseurl|utc)(=|\>)"
395 color brightyellow "\$(releasever|basearch)\>"
396
397 # Packages and groups
398 color brightblack "^@[A-Za-z][A-Za-z-]*"
399 color brightred "^-@[a-zA-Z0-9*-]+"
400 color red "^-[a-zA-Z0-9*-]+"
401
402 color cyan "(^|[[:space:]])#([^{].*)?$"
403 color ,green "[[:space:]]+$"
404 color ,red " + +| + +"
405 # +EXTRALINT
406 syntax "ledger" "(^|\.|/)ledger$"
407
408 color brightmagenta "^([0-9]{4}/[0-9]{2}/[0-9]{2}|[=~]) .*"
409 color blue "^[0-9]{4}/[0-9]{2}/[0-9]{2}"
410 color brightyellow "^~ .*"
411 color brightblue "^= .*"
412 color brightblack "^[[:space:]]+\(?[A-Za-z ]+(:[A-Za-z ]+)*\)?"
413 color red "[*]"
414 color cyan "^[[:space:]]*;.*"
415 syntax "lisp" "(emacs|zile)$" "\.(el|li?sp|scm|ss)$"
416
417 color brightblue "\([a-z-]+"
418 color red "\(([-+*/<>]|<=|>=)|'"
419 color black "\("
420 color blue "\<[0-9]+\>"
421 icolor brightblack "\<nil\>"
422 color brightcyan "\<[tT]\>"
423 color yellow "\"(\\.|[^"])*\""
424 color magenta "'[A-Za-z][A-Za-z0-9_-]+"
425 color magenta "\\.?"
426 color cyan "(^|[[:space:]]);.*"
427 color ,green "[[:space:]]+$"
428 color ,red " + +| + +"
429 # +EXTRALINT
430 syntax "lua" "\.lua$"
431 header "^#!.*lua(jit)?$"
432
433 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*([({'"]|\[=*\[)"
434 color brightblack "\<(do|end|while|repeat|until|if|elseif|then|else)\>"
435 color brightblack "\<(for|in|function|local|return|nil)\>"
436 color brightred "\<(goto|break)\>"
437 color brightcyan "\<(true|false)\>"
438 color red "[-+:*/%^=#<>]|~=|\.\.|\[|\]|\<(not|and|or)\>"
439 color brightwhite,red "[`!@$&|?]|!="
440 color black "\.{3,}|[({'"]"
441 color blue "\<([0-9]+)(\.[0-9]+)?([Ee][+-]?[0-9]+)?\>|0x[0-9a-fA-F]*"
442 color brightmagenta "::[A-Za-z_][A-Za-z0-9_]*::"
443 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
444 color magenta "\\([0-9]{1,3}|x[A-Fa-f0-9]{2}|[abefntrv'"\\]|\[|\])"
445 color yellow start="\[\[" end="\]\]"
446 color yellow start="\[=\[" end="\]=\]"
447 color yellow start="\[==\[" end="\]==\]"
448 color cyan "^#!.*" "(^|[[:space:]])\-\-.*$"
449 color cyan start="\-\-\[\[" end="\]\]"
450 color brightwhite,cyan "TODO:?"
451 color ,green "[[:space:]]+$"
452 color ,red " + +| + +"
453 # +EXTRALINT
454 syntax "makefile" "([Mm]akefile|\.ma?k)$"
455 header "^#!.*/(env +)?[bg]?make( |$)"
456
457 color brightblack "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>"
458 color brightblack "^(export|include|override)\>"
459 color brightmagenta "^[^:= ]+:"
460 color red "[=,%]" "\+=|\?=|:=|&&|\|\|"
461 color brightblue "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
462 color brightblue "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
463 color brightblue "\$\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
464 color brightblue "\$\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
465 color brightblue "\$\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
466 color black "[()$]"
467 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
468 color brightyellow "\$+(\{[^} ]+\}|\([^) ]+\))"
469 color brightyellow "\$[@^<*?%|+]|\$\([@^<*?%+-][DF]\)"
470 color magenta "\$\$|\\.?"
471 color cyan "(^|[[:space:]])#([^{].*)?$"
472 color cyan "^ @#.*"
473
474 # Show trailing whitespace
475 color ,green "[[:space:]]+$"
476 syntax "man" "\.[1-9]x?$"
477
478 color brightmagenta "\.(S|T)H.*$"
479 color brightblack "\.(BR?|I[PR]?).*$"
480 color brightyellow "\.(S|T)H|\.TP|\.(BR?|I[PR]?|PP)|\\f[BIPR]"
481 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
482 color yellow "\.(br|DS|RS|RE|PD)"
483 color ,green "[[:space:]]+$"
484 color ,red " + +| + +"
485 # +EXTRALINT
486 syntax "markdown" "\.(md|mkd|mkdn|markdown)$"
487
488 # Emphasis
489 color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)"
490
491 # Strong emphasis
492 color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
493
494 color brightmagenta "^=====*$|^-----*$|^#{1,6}.*"
495 color blue "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
496 color black "^[[:space:]]+"
497 color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])"
498 color brightyellow "\!?\[[^]]*\]([[:space:]]*\[[^]]*\]|\(.*\))?"
499 color brightyellow "^\[.*\]:[[:space:]]*[^"]*"
500 color yellow "`[^`]*`|^ {4}[^-+*].*"
501 color cyan "^>.*"
502 color ,green "[[:space:]]+$"
503 color ,red " + +| + +"
504 # +EXTRALINT
505 syntax "mpdconf" "mpd\.conf$"
506
507 color brightblack "\<(user|group|bind_to_address|host|port|plugin|name|type)\>"
508 color brightblack "\<((music|playlist)_directory|(db|log|state|pid|sticker)_file)\>"
509 color brightmagenta "^(input|audio_output|decoder)[[:space:]]*\{|\}"
510 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
511 color cyan "(^|[[:space:]])#([^{].*)?$"
512 color ,green "[[:space:]]+$"
513 color ,red " + +| + +"
514 # +EXTRALINT
515 syntax "nanorc" "nanorc$"
516 header "^syntax +\""
517
518 color green "^i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
519 color brightblack "^(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>"
520 color brightblack "^(bind|i?color|set|unset|syntax|header|magic)\>"
521 color red "^unbind\>"
522 color brightblack "^i?color\>" "\<(start|end)="
523 color brightyellow "^include\>"
524
525 color brightblack "^(PLAIN|TYPE|STRING|MACRO|NUMBER|VARIABLE|OPERATOR|~?KEYWORD):"
526 color brightblack "^(BOOLEAN|SECTION|REGEXP|FUNCTION|ESCAPE|COMMENT|WARNING|JUMP):"
527 color brightblack "^(TAG|ATTRIBUTE):"
528 color brightyellow "^\+(TODO|LINT|STRING|BOOLEAN|FUNCTION|INI|(C|HASH)COMMENT)$"
529
530 color magenta "\\.?"
531 color cyan "(^|[[:space:]])#([^{].*)?$"
532 color ,green "[[:space:]]+$"
533 color ,red " + +| + +"
534 # +EXTRALINT
535 syntax "nginx" "nginx.*\.conf$" "\.nginx$"
536 header "^(server|upstream)[a-z ]*\{$"
537
538 color brightmagenta "\<(events|server|http|location|upstream)[[:space:]]*\{"
539 color brightblack "(^|[[:space:]{;])(access_log|add_after_body|add_before_body|add_header|addition_types|aio|alias|allow|ancient_browser|ancient_browser_value|auth_basic|auth_basic_user_file|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|client_body_buffer_size|client_body_in_file_only|client_body_in_single_buffer|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|create_full_put_path|daemon|dav_access|dav_methods|default_type|deny|directio|directio_alignment|disable_symlinks|empty_gif|env|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|log_format|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|port_in_redirect|postpone_output|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_header|proxy_read_timeout|proxy_redirect|proxy_send_timeout|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|random_index|read_ahead|real_ip_header|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|return|rewrite|root|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|source_charset|split_clients|ssi|ssi_silent_errors|ssi_types|ssl|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_engine|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_timeout|ssl_verify_client|ssl_verify_depth|sub_filter|sub_filter_once|sub_filter_types|tcp_nodelay|tcp_nopush|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|user|userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service|valid_referers|variables_hash_bucket_size|variables_hash_max_size|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|working_directory|xml_entities|xslt_stylesheet|xslt_types)([[:space:]]|$)"
540 color black "[{}]"
541 color brightcyan "\<(on|off)\>"
542 color brightyellow "\$[A-Za-z][A-Za-z0-9_]*"
543 color red "[*]"
544 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
545 color yellow start="'$" end="';$"
546 color cyan "(^|[[:space:]])#([^{].*)?$"
547 color ,green "[[:space:]]+$"
548 color ,red " + +| + +"
549 # +EXTRALINT
550 syntax "patch" "\.(patch|diff)$"
551
552 color brightgreen "^\+.*"
553 color green "^\+\+\+.*"
554 color brightred "^-.*"
555 color red "^---.*"
556 color blue "^@@.*"
557 color magenta "^diff.*"
558
559 syntax "peg" "\.l?peg$"
560
561 color brightblack "^[[:space:]]*[A-Za-z][A-Za-z0-9_]*[[:space:]]*<-"
562 color blue "\^[+-]?[0-9]+"
563 color red "[-+*?^/!&]|->|<-|=>"
564 color brightyellow "%[A-Za-z][A-Za-z0-9_]*"
565 color magenta "\[[^]]*\]"
566 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
567 color cyan "(^|[[:space:]])\-\-.*$"
568 color brightwhite,cyan "TODO:?"
569 color ,green "[[:space:]]+$"
570 color ,red " + +| + +"
571 # +EXTRALINT
572 syntax "php" "\.php[2345s~]?$"
573 header "^(//|/\*).*[Pp][Hh][Pp]|<\?php\>"
574
575 color red "[-+/*=<>?:!~%&|]"
576 color brightmagenta "(<\?(php)?|\?>)"
577 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
578 color black "[(]"
579 color green "\<(float|global|double|bool|char|int|enum|const)\>"
580 color brightblack "\<(class|new|private|public|function|for|foreach|if|while|do|var)\>"
581 color brightblack "\<(return|else|elseif|case|default|switch)\>"
582 color brightred "\<(goto|break|continue)\>"
583 color brightcyan "\<(true|false)\>"
584 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
585 color brightyellow "\$[A-Za-z_][A-Za-z0-9_]*"
586 color cyan "(^|[[:space:]])//.*"
587 color cyan start="/\*" end="\*/"
588 color brightwhite,cyan "TODO:?"
589 color ,green "[[:space:]]+$"
590 color ,red " + +| + +"
591 # +EXTRALINT
592 syntax "pkgbuild" "PKGBUILD$" "\.install$"
593
594 color brightblue "^[A-Za-z0-9_+-]+[[:space:]]*\(\)"
595 color brightblack "\<(case|do|done|elif|else|esac|fi|for|function|if)\>"
596 color brightblack "\<(in|select|then|time|until|while)\>"
597 color brightblue "\<(echo|exit|export|let|local|read|return|set|shift|umask|unset)\>"
598 color green "\<(pkgname|pkgver|pkgrel|epoch|pkgdesc|arch|url|license)\>"
599 color green "\<(groups|depends|makedepends|checkdepends|optdepends)\>"
600 color green "\<(provides|conflicts|replaces|backup|options|^install)\>"
601 color green "\<(changelog|source|noextract)\>"
602 color green "\<(md5sums|sha1sums|sha256sums|sha384sums|sha512sums)\>"
603 color green "\<(srcdir|pkgdir)\>"
604 color brightyellow "\<(strip|docs|libtool|emptydirs|zipman|purge|upx)\>"
605 color brightyellow "\<(ccache|distcc|buildflags|makeflags)\>"
606 color red "[{}()<>!=&|;`$]|\\|\[|\]|-(eq|ne|gt|lt|ge|le|s|n|z)\>"
607 color yellow ""(\\.|[^"])*""
608 color brightyellow "\$\{?[A-Za-z0-9_!@#$*?-]+\}?|`[^`]*`"
609 color yellow "'(\\.|[^'])*'"
610 color magenta "\\.?"
611 color cyan "(^|[[:space:]])#([^{].*)?$"
612 color ,green "[[:space:]]+$"
613 color ,red " + +| + +"
614 # +EXTRALINT
615 syntax "pkg-config" "\.pc$"
616
617 color brightblack "^(Name|Description|URL|Version|Conflicts|Cflags):"
618 color brightblack "^(Requires|Libs)(\.private)?:"
619 color red "="
620 color brightyellow "\$\{[A-Za-z_][A-Za-z0-9_]*\}"
621 color ,green "[[:space:]]+$"
622 color ,red " + +| + +"
623 # +EXTRALINT
624 syntax "po" "\.pot?$"
625
626 color brightblack "\<(msgid|msgstr)\>"
627 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
628 color magenta "\\.?"
629 color cyan "(^|[[:space:]])#([^{].*)?$"
630 color ,green "[[:space:]]+$"
631 color ,red " + +| + +"
632 # +EXTRALINT
633 syntax "privoxy-config" "privoxy/config$"
634
635 color brightblack "(accept-intercepted-requests|actionsfile|admin-address|allow-cgi-request-crunching|buffer-limit|compression-level|confdir|connection-sharing|debug|default-server-timeout|deny-access|enable-compression|enable-edit-actions|enable-remote-http-toggle|enable-remote-toggle|enforce-blocks|filterfile|forward|forwarded-connect-retries|forward-socks4|forward-socks4a|forward-socks5|handle-as-empty-doc-returns-ok|hostname|keep-alive-timeout|listen-address|logdir|logfile|max-client-connections|permit-access|proxy-info-url|single-threaded|socket-timeout|split-large-forms|templdir|toggle|tolerate-pipelining|trustfile|trust-info-url|user-manual)[[:space:]]"
636 color cyan "(^|[[:space:]])#([^{].*)?$"
637 color ,green "[[:space:]]+$"
638 color ,red " + +| + +"
639 # +EXTRALINT
640
641 syntax "privoxy-action" "\.action$"
642
643 color brightred "[{[:space:]]\-block([[:space:]{}]|$)"
644 color brightgreen "[{[:space:]]\+block([[:space:]{}]|$)"
645
646 color brightred "-(add-header|change-x-forwarded-for|client-header-filter|client-header-tagger|content-type-overwrite|crunch-client-header|crunch-if-none-match|crunch-incoming-cookies|crunch-outgoing-cookies|crunch-server-header|deanimate-gifs|downgrade-http-version|fast-redirects|filter|force-text-mode|forward-override|handle-as-empty-document|handle-as-image|hide-accept-language|hide-content-disposition|hide-from-header|hide-if-modified-since|hide-referrer|hide-user-agent|limit-connect|overwrite-last-modified|prevent-compression|redirect|server-header-filter|server-header-tagger|session-cookies-only|set-image-blocker)"
647 color brightgreen "\+(add-header|change-x-forwarded-for|client-header-filter|client-header-tagger|content-type-overwrite|crunch-client-header|crunch-if-none-match|crunch-incoming-cookies|crunch-outgoing-cookies|crunch-server-header|deanimate-gifs|downgrade-http-version|fast-redirects|filter|force-text-mode|forward-override|handle-as-empty-document|handle-as-image|hide-accept-language|hide-content-disposition|hide-from-header|hide-if-modified-since|hide-referrer|hide-user-agent|limit-connect|overwrite-last-modified|prevent-compression|redirect|server-header-filter|server-header-tagger|session-cookies-only|set-image-blocker)"
648 color black "[{}]"
649 color magenta "\\.?"
650 color cyan "(^|[[:space:]])#([^{].*)?$"
651 color ,green "[[:space:]]+$"
652 color ,red " + +| + +"
653 # +EXTRALINT
654
655 syntax "privoxy-filter" "\.filter$"
656
657 color brightblack "^(FILTER|CLIENT-HEADER-FILTER|CLIENT-HEADER-TAGGER|SERVER-HEADER-FILTER|SERVER-HEADER-TAGGER): [a-z-]+"
658 color brightblue "^(FILTER|CLIENT-HEADER-FILTER|CLIENT-HEADER-TAGGER|SERVER-HEADER-FILTER|SERVER-HEADER-TAGGER):"
659 color magenta "\\.?"
660 color cyan "(^|[[:space:]])#([^{].*)?$"
661 color ,green "[[:space:]]+$"
662 color ,red " + +| + +"
663 # +EXTRALINT
664
665 syntax "python" "\.py$" "jhbuildrc$"
666 header "^#!.*/(env +)?python[-0-9._]*( |$)"
667
668 color brightblack "\<(as|assert|break|class|continue|def|del|elif|else|except)\>"
669 color brightblack "\<(exec|finally|for|from|global|if|import|lambda)\>"
670 color brightblack "\<(pass|print|raise|return|try|while|with|yield|None)\>"
671 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
672 color black "[(]"
673 color red "[-+*/|=%<>&~^]|\<(and|not|or|is|in)\>"
674 color brightyellow "@[A-Za-z0-9_]+"
675 color brightmagenta "__[A-Za-z0-9_]+__"
676 color brightcyan "\<(True|False)\>"
677 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
678 color yellow "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
679 color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
680 color yellow start=""""[^"]" end="""""
681 color yellow start="'''[^']" end="'''"
682 color magenta "\\.?"
683 color cyan "(^|[[:space:]])#([^{].*)?$"
684 color brightwhite,cyan "TODO:?"
685 color ,green "[[:space:]]+$"
686 color ,red " + +| + +"
687 # +EXTRALINT
688 syntax "rpmspec" "\.spec$" "\.rpmspec$"
689
690 color brightblack "\<(Icon|ExclusiveOs|ExcludeOs):"
691 color brightblack "\<(BuildArch|BuildArchitectures|ExclusiveArch|ExcludeArch):"
692 color brightblack "\<(Conflicts|Obsoletes|Provides|Requires|Requires\(.*\)|Enhances|Suggests|BuildConflicts|BuildRequires|Recommends|PreReq|Supplements):"
693 color brightblack "\<(Epoch|Serial|Nosource|Nopatch):"
694 color brightblack "\<(AutoReq|AutoProv|AutoReqProv):"
695 color brightblack "\<(Copyright|License|Summary|Summary\(.*\)|Distribution|Vendor|Packager|Group|Source[0-9]*|Patch[0-9]*|BuildRoot|Prefix):"
696 color brightblack "\<(Name|Version|Release|Url|URL):"
697 color brightblack start="^(Source|Patch)" end=":"
698 color brightblack "(i386|i486|i586|i686|athlon|ia64|alpha|alphaev5|alphaev56|alphapca56|alphaev6|alphaev67|sparc|sparcv9|sparc64armv3l|armv4b|armv4lm|ips|mipsel|ppc|ppc|iseries|ppcpseries|ppc64|m68k|m68kmint|Sgi|rs6000|i370|s390x|s390|noarch)"
699 color brightblack "(ifarch|ifnarch|ifos|ifnos)"
700 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
701 color brightyellow "%(if|else|endif|define|global|undefine)"
702 color brightyellow "%_?([A-Z_a-z_0-9_]*)"
703 color brightyellow start="%\{" end="\}"
704 color brightyellow start="%\{__" end="\}"
705 color brightyellow "\$(RPM_BUILD_ROOT)\>"
706 color brightmagenta "^%(build$|changelog|check$|clean$|description)"
707 color brightmagenta "^%(files|install$|package|prep$)"
708 color brightmagenta "^%(pre|preun|pretrans|post|postun|posttrans)"
709 color brightmagenta "^%(trigger|triggerin|triggerpostun|triggerun|verifyscript)"
710 color cyan "(^|[[:space:]])#([^{].*)?$"
711 color blue "^\*.*$"
712 color ,green "[[:space:]]+$"
713 color ,red " + +| + +"
714 # +EXTRALINT
715 color brightwhite,cyan "TODO:?"
716 syntax "ruby" "\.rb$|Rakefile$"
717
718 color brightblack "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>"
719 color yellow "(^|[[:space:]]):[A-Za-z0-9_]+\>"
720 color magenta "/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*"
721 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
722 color cyan "(^|[[:space:]])#([^{].*)?$"
723 color cyan start="^=begin$" end="^=end$"
724 color brightwhite,cyan "TODO:?"
725 color ,green "[[:space:]]+$"
726 color ,red " + +| + +"
727 # +EXTRALINT
728 syntax "sed" "\.sed$"
729 header "^#!.*bin/(env +)?sed( |$)"
730
731 color red "[|^$.*+]"
732 color brightyellow "\{[0-9]+,?[0-9]*\}"
733 color magenta "\\."
734 color cyan "(^|[[:space:]])#([^{].*)?$"
735 color ,green "[[:space:]]+$"
736 color ,red " + +| + +"
737 # +EXTRALINT
738 syntax "sh" "\.sh$" "\.bash$" "bashrc$" "bash_profile$"
739 header "^#!.*/(env +)?(ba|k|pdk)?sh[-0-9_]*( |$)"
740
741 color brightblue "^[A-Za-z0-9_+-]+[[:space:]]*\(\)"
742 color brightblack "\<(case|do|done|elif|else|esac|fi|for|function|if)\>"
743 color brightblack "\<(in|select|then|time|until|while)\>"
744 color brightblue "\<(echo|exit|export|let|local|read|return|set|shift|umask|unset)\>"
745 color brightblue "\<(source)\>"
746 color red "[{}()<>!=&|;`$]|\\|\[|\]|-(eq|ne|gt|lt|ge|le|s|n|z)\>"
747 color yellow ""(\\.|[^"])*""
748 color brightyellow "\$\{?[A-Za-z0-9_!@#$*?-]+\}?|`[^`]*`"
749 color yellow "'(\\.|[^'])*'"
750 color magenta "\\.?"
751 color cyan "(^|[[:space:]])#([^{].*)?$"
752 color brightwhite,cyan "TODO:?"
753 color ,green "[[:space:]]+$"
754 color ,red " + +| + +"
755 # +EXTRALINT
756 syntax "sql" "\.sql$" "sqliterc$"
757
758 icolor brightblack "\<(ALL|ASC|AS|ALTER|AND|ADD|AUTO_INCREMENT)\>"
759 icolor brightblack "\<(BETWEEN|BINARY|BOTH|BY|BOOLEAN)\>"
760 icolor brightblack "\<(CHANGE|CHECK|COLUMNS|COLUMN|CROSS|CREATE)\>"
761 icolor brightblack "\<(DATABASES|DATABASE|DATA|DELAYED|DESCRIBE|DESC|DISTINCT|DELETE|DROP|DEFAULT)\>"
762 icolor brightblack "\<(ENCLOSED|ESCAPED|EXISTS|EXPLAIN)\>"
763 icolor brightblack "\<(FIELDS|FIELD|FLUSH|FOR|FOREIGN|FUNCTION|FROM)\>"
764 icolor brightblack "\<(GROUP|GRANT|HAVING)\>"
765 icolor brightblack "\<(IGNORE|INDEX|INFILE|INSERT|INNER|INTO|IDENTIFIED|IN|IS|IF)\>"
766 icolor brightblack "\<(JOIN|KEYS|KILL|KEY)\>"
767 icolor brightblack "\<(LEADING|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCK|LOW_PRIORITY|LEFT|LANGUAGE)\>"
768 icolor brightblack "\<(MODIFY|NATURAL|NOT|NULL|NEXTVAL)\>"
769 icolor brightblack "\<(OPTIMIZE|OPTION|OPTIONALLY|ORDER|OUTFILE|OR|OUTER|ON)\>"
770 icolor brightblack "\<(PROCEDURE|PROCEDURAL|PRIMARY)\>"
771 icolor brightblack "\<(READ|REFERENCES|REGEXP|RENAME|REPLACE|RETURN|REVOKE|RLIKE|RIGHT)\>"
772 icolor brightblack "\<(SHOW|SONAME|STATUS|STRAIGHT_JOIN|SELECT|SETVAL|SET)\>"
773 icolor brightblack "\<(TABLES|TERMINATED|TO|TRAILING|TRUNCATE|TABLE|TEMPORARY|TRIGGER|TRUSTED)\>"
774 icolor brightblack "\<(UNIQUE|UNLOCK|USE|USING|UPDATE|VALUES|VARIABLES|VIEW)\>"
775 icolor brightblack "\<(WITH|WRITE|WHERE|ZEROFILL|TYPE|XOR)\>"
776 color green "\<(VARCHAR|TINYINT|TEXT|DATE|SMALLINT|MEDIUMINT|INT|INTEGER|BIGINT|FLOAT|DOUBLE|DECIMAL|DATETIME|TIMESTAMP|TIME|YEAR|UNSIGNED|CHAR|TINYBLOB|TINYTEXT|BLOB|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|ENUM|BOOL|BINARY|VARBINARY)\>"
777
778 # SQLite meta commands
779 icolor brightblack "\.\<(databases|dump|echo|exit|explain|header(s)?|help)\>"
780 icolor brightblack "\.\<(import|indices|mode|nullvalue|output|prompt|quit|read)\>"
781 icolor brightblack "\.\<(schema|separator|show|tables|timeout|width)\>"
782 color brightcyan "\<(ON|OFF)\>"
783
784 color blue "\<([0-9]+)\>"
785 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
786 color yellow "`(\\.|[^\\`])*`"
787 color cyan "\-\-.*$"
788 color ,green "[[:space:]]+$"
789 color ,red " + +| + +"
790 # +EXTRALINT
791 syntax "systemd" "\.(service|socket)$"
792 header "^\[Unit\]$"
793
794 color brightblack "^(Accept|After|Alias|AllowIsolate|Also|ANSI_COLOR|_AUDIT_LOGINUID|_AUDIT_SESSION|Backlog|Before|BindIPv6Only|BindsTo|BindToDevice|BlockIOReadBandwidth|BlockIOWeight|BlockIOWriteBandwidth|_BOOT_ID|Broadcast|BUG_REPORT_URL|BusName|Capabilities|CapabilityBoundingSet|CHASSIS|cipher|class|_CMDLINE|CODE_FILE|CODE_FUNC|CODE_LINE|_COMM|Compress|ConditionACPower|ConditionCapability|ConditionDirectoryNotEmpty|ConditionFileIsExecutable|ConditionFileNotEmpty|ConditionHost|ConditionKernelCommandLine|ConditionNull|ConditionPathExists|ConditionPathExistsGlob|ConditionPathIsDirectory|ConditionPathIsMountPoint|ConditionPathIsReadWrite|ConditionPathIsSymbolicLink|ConditionSecurity|ConditionVirtualization|Conflicts|ControlGroup|ControlGroupAttribute|ControlGroupModify|ControlGroupPersistent|controllers|Controllers|CPE_NAME|CPUAffinity|CPUSchedulingPolicy|CPUSchedulingPriority|CPUSchedulingResetOnFork|CPUShares|CrashChVT|CrashShell|__CURSOR|debug|DefaultControllers|DefaultDependencies|DefaultLimitAS|DefaultLimitCORE|DefaultLimitCPU|DefaultLimitDATA|DefaultLimitFSIZE|DefaultLimitLOCKS|DefaultLimitMEMLOCK|DefaultLimitMSGQUEUE|DefaultLimitNICE|DefaultLimitNOFILE|DefaultLimitNPROC|DefaultLimitRSS|DefaultLimitRTPRIO|DefaultLimitRTTIME|DefaultLimitSIGPENDING|DefaultLimitSTACK|DefaultStandardError|DefaultStandardOutput|Description|DeviceAllow|DeviceDeny|DirectoryMode|DirectoryNotEmpty|Documentation|DumpCore|entropy|Environment|EnvironmentFile|ERRNO|event_timeout|_EXE|ExecReload|ExecStart|ExecStartPost|ExecStartPre|ExecStop|ExecStopPost|ExecStopPre|filter|FONT|FONT_MAP|FONT_UNIMAP|ForwardToConsole|ForwardToKMsg|ForwardToSyslog|FreeBind|freq|FsckPassNo|fstab|_GID|Group|GuessMainPID|HandleHibernateKey|HandleLidSwitch|HandlePowerKey|HandleSuspendKey|hash|HibernateKeyIgnoreInhibited|HOME_URL|_HOSTNAME|ICON_NAME|ID|IdleAction|IdleActionSec|ID_LIKE|ID_MODEL|ID_MODEL_FROM_DATABASE|IgnoreOnIsolate|IgnoreOnSnapshot|IgnoreSIGPIPE|InaccessibleDirectories|InhibitDelayMaxSec|init|IOSchedulingClass|IOSchedulingPriority|IPTOS|IPTTL|JobTimeoutSec|JoinControllers|KeepAlive|KEYMAP|KEYMAP_TOGGLE|KillExcludeUsers|KillMode|KillOnlyUsers|KillSignal|KillUserProcesses|LidSwitchIgnoreInhibited|LimitAS|LimitCORE|LimitCPU|LimitDATA|LimitFSIZE|LimitLOCKS|LimitMEMLOCK|LimitMSGQUEUE|LimitNICE|LimitNOFILE|LimitNPROC|LimitRSS|LimitRTPRIO|LimitRTTIME|LimitSIGPENDING|LimitSTACK|link_priority|valueListenDatagram|ListenFIFO|ListenMessageQueue|ListenNetlink|ListenSequentialPacket|ListenSpecial|ListenStream|LogColor|LogLevel|LogLocation|LogTarget|luks|_MACHINE_ID|MakeDirectory|Mark|MaxConnections|MaxFileSec|MaxLevelConsole|MaxLevelKMsg|MaxLevelStore|MaxLevelSyslog|MaxRetentionSec|MemoryLimit|MemorySoftLimit|MESSAGE|MESSAGE_ID|MessageQueueMaxMessages|MessageQueueMessageSize|__MONOTONIC_TIMESTAMP|MountFlags|NAME|NAutoVTs|Nice|NonBlocking|NoNewPrivileges|NotifyAccess|OnActiveSec|OnBootSec|OnCalendar|OnFailure|OnFailureIsolate|OnStartupSec|OnUnitActiveSec|OnUnitInactiveSec|OOMScoreAdjust|Options|output|PAMName|PartOf|PassCredentials|PassSecurity|PathChanged|PathExists|PathExistsGlob|PathModified|PermissionsStartOnly|_PID|PIDFile|PipeSize|PowerKeyIgnoreInhibited|PRETTY_HOSTNAME|PRETTY_NAME|Priority|PRIORITY|PrivateNetwork|PrivateTmp|PropagatesReloadTo|pss|RateLimitBurst|RateLimitInterval|ReadOnlyDirectories|ReadWriteDirectories|__REALTIME_TIMESTAMP|ReceiveBuffer|RefuseManualStart|RefuseManualStop|rel|ReloadPropagatedFrom|RemainAfterExit|RequiredBy|Requires|RequiresMountsFor|RequiresOverridable|Requisite|RequisiteOverridable|ReserveVT|ResetControllers|Restart|RestartPreventExitStatus|RestartSec|RootDirectory|RootDirectoryStartOnly|RuntimeKeepFree|RuntimeMaxFileSize|RuntimeMaxUse|RuntimeWatchdogSec|samples|scale_x|scale_y|Seal|SecureBits|_SELINUX_CONTEXT|SendBuffer|SendSIGKILL|Service|ShowStatus|ShutdownWatchdogSec|size|SmackLabel|SmackLabelIPIn|SmackLabelIPOut|SocketMode|Sockets|SourcePath|_SOURCE_REALTIME_TIMESTAMP|SplitMode|StandardError|StandardInput|StandardOutput|StartLimitAction|StartLimitBurst|StartLimitInterval|static_node|StopWhenUnneeded|Storage|string_escape|none|replaceSuccessExitStatus|SupplementaryGroups|SUPPORT_URL|SuspendKeyIgnoreInhibited|SyslogFacility|SYSLOG_FACILITY|SyslogIdentifier|SYSLOG_IDENTIFIER|SyslogLevel|SyslogLevelPrefix|SYSLOG_PID|SystemCallFilter|SYSTEMD_ALIAS|_SYSTEMD_CGROUP|_SYSTEMD_OWNER_UID|SYSTEMD_READY|_SYSTEMD_SESSION|_SYSTEMD_UNIT|_SYSTEMD_USER_UNIT|SYSTEMD_WANTS|SystemKeepFree|SystemMaxFileSize|SystemMaxUse|SysVStartPriority|TCPCongestion|TCPWrapName|timeout|TimeoutSec|TimeoutStartSec|TimeoutStopSec|TimerSlackNSec|Transparent|_TRANSPORT|tries|TTYPath|TTYReset|TTYVHangup|TTYVTDisallocate|Type|_UID|UMask|Unit|User|UtmpIdentifier|VERSION|VERSION_ID|WantedBy|Wants|WatchdogSec|What|Where|WorkingDirectory)="
795 color brightblue "^\.include\>"
796 color red "="
797 color brightmagenta "^\[(Unit|Install|Service|Socket)\]"
798 color brightyellow "\$MAINPID"
799 color brightcyan "\<(true|false)\>"
800 color cyan "(^|[[:space:]])#([^{].*)?$"
801 color ,green "[[:space:]]+$"
802 color ,red " + +| + +"
803 # +EXTRALINT
804 syntax "tex" "\.(tex|cls|ltx|sty|dtx|ins|bbl)$"
805
806 color brightyellow "\\[A-Za-z]+"
807 color brightmagenta "\\section"
808 color cyan "%.*"
809 color ,green "[[:space:]]+$"
810 color ,red " + +| + +"
811 # +EXTRALINT
812 syntax "vala" "\.vala$"
813
814 color green "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
815 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
816 color black "[(]"
817 color brightblack "\<(for|if|while|do|else|case|default|switch|try|throw|catch)\>"
818 color brightblack "\<(inline|typedef|struct|enum|union|extern|static|const)\>"
819 color brightblack "\<(operator|new|delete|return|null|using)\>"
820 color brightblack "\<(class|override|private|public|signal|this|weak)\>"
821 color brightred "\<(goto|break|continue)\>"
822 color brightcyan "\<(true|false)\>"
823 color blue "\<([0-9]+)\>"
824 color red "[-+/*=<>?:!~%&|]" "->"
825 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
826 color cyan "(^|[[:space:]])//.*"
827 color cyan start="/\*" end="\*/"
828 color brightwhite,cyan "TODO:?"
829 color ,green "[[:space:]]+$"
830 color ,red " + +| + +"
831 # +EXTRALINT
832 syntax "vi" "(^|/|\.)(ex|vim)rc$|\.vim"
833
834 color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
835 color black "[(]"
836 color brightblack "\<([nvxsoilc]?(nore|un)?map|[nvlx]n|[ico]?no|[cilovx][um]|s?unm)\>"
837 color brightblack "\<(snor|nun|nm|set|if|endif|let|unlet)\>"
838 color red "[!&=]"
839 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
840 color cyan "(^|[[:space:]])\"[^"]*$"
841 color ,green "[[:space:]]+$"
842 color ,red " + +| + +"
843 # +EXTRALINT
844 syntax "xml" "\.([jrs]html?|sgml?|xml|opml|xslt?|plist)$"
845 header "<\?xml"
846
847 color brightmagenta start="<" end=">"
848 color brightblack " [a-z_-]+="
849 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
850 color brightwhite,red "&"
851 color magenta "&(#[0-9]+|#x[0-9a-fA-F]+|[A-Za-z][A-Za-z0-9]*);"
852 color cyan start="<!--" end="-->"
853 color cyan start="<!DOCTYPE" end=">"
854 color ,green "[[:space:]]+$"
855 color ,red " + +| + +"
856 # +EXTRALINT
857 syntax "xresources" "X(defaults|resources)$"
858
859 color green "^[[:alnum:]]+\*"
860 color brightyellow "\*[[:alnum:]]+\:"
861 color blue "\<[0-9]+\>"
862 color red "[*:=]"
863 color brightcyan "\<(true|false)\>"
864 color cyan "(^|[[:space:]])#([^{].*)?$"
865 color ,green "[[:space:]]+$"
866 color ,red " + +| + +"
867 # +EXTRALINT
868 syntax "yaml" "\.ya?ml$"
869 header "^---" "%YAML"
870
871 color green "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
872 color brightcyan "\<(YES|yes|Y|y|ON|on|NO|no|N|n|OFF|off)\>"
873 color brightcyan "\<(true|false)\>"
874 color red ":[[:space:]]" "\[" "\]" ":[[:space:]]+[|>]" "^[[:space:]]*- "
875 color brightyellow "[[:space:]][\*&][A-Za-z0-9]+"
876 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
877 color cyan "(^|[[:space:]])#([^{].*)?$"
878 color brightmagenta "^---" "^\.\.\." "^%YAML" "^%TAG"
879 color ,green "[[:space:]]+$"
880 color ,red " + +| + +"
881 # +EXTRALINT
882 syntax "yum" "\.repo$|yum.*\.conf$"
883
884 color brightblack "^[[:space:]]*[^=]*="
885 color brightmagenta "^[[:space:]]*\[.*\]$"
886 color brightyellow "\$(releasever|arch|basearch|uuid|YUM[0-9])"
887 color cyan "(^|[[:space:]])#([^{].*)?$"
888 color ,green "[[:space:]]+$"
889 color ,red " + +| + +"
890 # +EXTRALINT