Ticket #3513: liquidsoap.syntax

File liquidsoap.syntax, 19.0 KB (added by puresoul, 4 years ago)

Syntax file

Line 
1context default
2    keyword := brightred
3    keyword whole \%include brightred
4    keyword % brightred
5    keyword . white/Orange
6    keyword > yellow
7    keyword < yellow
8    keyword \+ yellow
9    keyword - yellow
10    keyword \* yellow
11    keyword / yellow
12    keyword != yellow
13    keyword == yellow
14    keyword = brightred
15    keyword whole \[=\]\{0123456789\}\[0123456789.\] cyan
16    keyword { white
17    keyword } white
18    keyword ( brightmagenta
19    keyword ) brightmagenta
20
21    keyword [ white
22    keyword ] white
23    keyword , yellow
24    keyword ; brightgreen
25    keyword !\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\] brightgreen
26
27
28    keyword whole ref brightgreen
29    keyword whole self brightred
30    keyword whole and yellow
31    keyword whole as yellow
32    keyword whole assert yellow
33    keyword whole break yellow
34    keyword whole class yellow
35    keyword whole continue yellow
36    keyword whole def yellow
37    keyword whole del yellow
38    keyword whole elif yellow
39    keyword whole else yellow
40    keyword whole except yellow
41    keyword whole exec yellow
42    keyword whole finally yellow
43    keyword whole for yellow
44    keyword whole from yellow
45    keyword whole global yellow
46    keyword whole if yellow
47    keyword whole import yellow
48    keyword whole in yellow
49    keyword whole is yellow
50    keyword whole lambda yellow
51    keyword whole not yellow
52    keyword whole or yellow
53    keyword whole pass yellow
54    keyword whole print yellow
55    keyword whole raise yellow
56    keyword whole return yellow
57    keyword whole try yellow
58    keyword whole while yellow
59    keyword whole with yellow
60    keyword whole yield yellow
61    keyword whole end+ yellow
62    keyword whole then yellow
63    keyword whole ifdef yellow
64    keyword whole endif yellow
65    keyword whole begin yellow
66
67
68    keyword whole __+__ brightred
69
70    keyword whole audio_to_stereo brightcyan
71    keyword whole drop_audio brightcyan
72    keyword whole drop_midi brightcyan
73    keyword whole drop_video brightcyan
74    keyword whole id brightcyan
75    keyword whole mean brightcyan
76    keyword whole mux_audio brightcyan
77    keyword whole mux_mono brightcyan
78    keyword whole mux_stereo brightcyan
79    keyword whole mux_video brightcyan
80    keyword whole stereo.left brightcyan
81    keyword whole stereo.right brightcyan
82    keyword whole swap brightcyan
83    keyword whole blank brightcyan
84    keyword whole empty brightcyan
85    keyword whole fail brightcyan
86    keyword whole in brightcyan
87    keyword whole input.alsa brightcyan
88    keyword whole input.external brightcyan
89    keyword whole input.gstreamer.audio brightcyan
90    keyword whole input.gstreamer.audio_video brightcyan
91    keyword whole input.gstreamer.video brightcyan
92    keyword whole input.harbor brightcyan
93    keyword whole input.http brightcyan
94    keyword whole input.jack brightcyan
95    keyword whole input.lastfm brightcyan
96    keyword whole input.oss brightcyan
97    keyword whole input.portaudio brightcyan
98    keyword whole input.pulseaudio brightcyan
99    keyword whole input.udp brightcyan
100    keyword whole noise brightcyan
101    keyword whole playlist brightcyan
102    keyword whole playlist.once brightcyan
103    keyword whole playlist.reloadable brightcyan
104    keyword whole playlist.safe brightcyan
105    keyword whole request.dynamic brightcyan
106    keyword whole request.equeue brightcyan
107    keyword whole request.queue brightcyan
108    keyword whole saw brightcyan
109    keyword whole sine brightcyan
110    keyword whole single brightcyan
111    keyword whole square brightcyan
112    keyword whole buffer brightcyan
113    keyword whole buffer.adaptative brightcyan
114    keyword whole midi.chord brightcyan
115    keyword whole midi.merge_all brightcyan
116    keyword whole midi.remove brightcyan
117    keyword whole out brightcyan
118    keyword whole output.alsa brightcyan
119    keyword whole output.ao brightcyan
120    keyword whole output.dummy brightcyan
121    keyword whole output.external brightcyan
122    keyword whole output.file brightcyan
123    keyword whole output.graphics brightcyan
124    keyword whole output.gstreamer.audio brightcyan
125    keyword whole output.gstreamer.audio_video brightcyan
126    keyword whole output.gstreamer.video brightcyan
127    keyword whole output.harbor brightcyan
128    keyword whole output.icecast brightcyan
129    keyword whole output.jack brightcyan
130    keyword whole output.oss brightcyan
131    keyword whole output.portaudio brightcyan
132    keyword whole output.prefered brightcyan
133    keyword whole output.pulseaudio brightcyan
134    keyword whole output.udp brightcyan
135    keyword whole add brightcyan
136    keyword whole amplify brightcyan
137    keyword whole bpm brightcyan
138    keyword whole clip brightcyan
139    keyword whole comb brightcyan
140    keyword whole compand brightcyan
141    keyword whole compress brightcyan
142    keyword whole compress.exponential brightcyan
143    keyword whole cross brightcyan
144    keyword whole echo brightcyan
145    keyword whole fade.final brightcyan
146    keyword whole fade.in brightcyan
147    keyword whole fade.initial brightcyan
148    keyword whole fade.out brightcyan
149    keyword whole filter brightcyan
150    keyword whole filter.fir brightcyan
151    keyword whole filter.iir.butterworth.bandpass brightcyan
152    keyword whole filter.iir.butterworth.bandstop brightcyan
153    keyword whole filter.iir.butterworth.high brightcyan
154    keyword whole filter.iir.butterworth.low brightcyan
155    keyword whole filter.iir.eq.allpass brightcyan
156    keyword whole filter.iir.eq.bandpass brightcyan
157    keyword whole filter.iir.eq.high brightcyan
158    keyword whole filter.iir.eq.highshelf brightcyan
159    keyword whole filter.iir.eq.low brightcyan
160    keyword whole filter.iir.eq.lowshelf brightcyan
161    keyword whole filter.iir.eq.notch brightcyan
162    keyword whole filter.iir.eq.peak brightcyan
163    keyword whole filter.iir.resonator.allpass brightcyan
164    keyword whole filter.iir.resonator.bandpass brightcyan
165    keyword whole filter.iir.resonator.bandstop brightcyan
166    keyword whole flanger brightcyan
167    keyword whole helium brightcyan
168    keyword whole ladspa.amp_mono brightcyan
169    keyword whole ladspa.amp_stereo brightcyan
170    keyword whole ladspa.delay_5s brightcyan
171    keyword whole ladspa.hpf brightcyan
172    keyword whole ladspa.lpf brightcyan
173    keyword whole ladspa.noise_white brightcyan
174    keyword whole ladspa.sine_faac brightcyan
175    keyword whole ladspa.sine_fcaa brightcyan
176    keyword whole ladspa.sine_fcac brightcyan
177    keyword whole limit brightcyan
178    keyword whole mic_filter brightcyan
179    keyword whole mix brightcyan
180    keyword whole normalize brightcyan
181    keyword whole nrj brightcyan
182    keyword whole sky brightcyan
183    keyword whole smart_cross brightcyan
184    keyword whole soundtouch brightcyan
185    keyword whole stereo.ms.decode brightcyan
186    keyword whole stereo.ms.encode brightcyan
187    keyword whole stereo.pan brightcyan
188    keyword whole stretch brightcyan
189    keyword whole dssi.register brightcyan
190    keyword whole synth.all.saw brightcyan
191    keyword whole synth.all.sine brightcyan
192    keyword whole synth.all.square brightcyan
193    keyword whole synth.saw brightcyan
194    keyword whole synth.sine brightcyan
195    keyword whole synth.square brightcyan
196    keyword whole append brightcyan
197    keyword whole at brightcyan
198    keyword whole crossfade brightcyan
199    keyword whole cue_cut brightcyan
200    keyword whole delay brightcyan
201    keyword whole drop_metadata brightcyan
202    keyword whole eat_blank brightcyan
203    keyword whole fallback brightcyan
204    keyword whole fallback.skip brightcyan
205    keyword whole insert_metadata brightcyan
206    keyword whole map_metadata brightcyan
207    keyword whole merge_tracks brightcyan
208    keyword whole mksafe brightcyan
209    keyword whole on_blank brightcyan
210    keyword whole on_end brightcyan
211    keyword whole on_metadata brightcyan
212    keyword whole on_track brightcyan
213    keyword whole once brightcyan
214    keyword whole prepend brightcyan
215    keyword whole random brightcyan
216    keyword whole rewrite_metadata brightcyan
217    keyword whole rotate brightcyan
218    keyword whole say_metadata brightcyan
219    keyword whole sequence brightcyan
220    keyword whole server.insert_metadata brightcyan
221    keyword whole skip_blank brightcyan
222    keyword whole smart_crossfade brightcyan
223    keyword whole smooth_add brightcyan
224    keyword whole source.dynamic brightcyan
225    keyword whole store_metadata brightcyan
226    keyword whole strip_blank brightcyan
227    keyword whole switch brightcyan
228    keyword whole video.add_text.gstreamer brightcyan
229    keyword whole video.fade.final brightcyan
230    keyword whole video.fade.in brightcyan
231    keyword whole video.fade.initial brightcyan
232    keyword whole video.fade.out brightcyan
233    keyword whole video.fill brightcyan
234    keyword whole video.greyscale brightcyan
235    keyword whole video.invert brightcyan
236    keyword whole video.lomo brightcyan
237    keyword whole video.opacity brightcyan
238    keyword whole video.opacity.blur brightcyan
239    keyword whole video.rotate brightcyan
240    keyword whole video.scale brightcyan
241    keyword whole video.sepia brightcyan
242    keyword whole video.tile brightcyan
243    keyword whole video.transparent brightcyan
244    keyword whole rms brightcyan
245    keyword whole rms.stereo brightcyan
246    keyword whole server.rms brightcyan
247    keyword whole video.volume brightcyan
248    keyword whole visu.volume brightcyan
249    keyword whole vumeter brightcyan
250    keyword whole != brightcyan
251    keyword whole &lt; brightcyan
252    keyword whole &lt;= brightcyan
253    keyword whole == brightcyan
254    keyword whole &gt; brightcyan
255    keyword whole &gt;= brightcyan
256    keyword whole and brightcyan
257    keyword whole not brightcyan
258    keyword whole or brightcyan
259    keyword whole random.bool brightcyan
260    keyword whole add_timeout brightcyan
261    keyword whole ignore brightcyan
262    keyword whole add_skip_command brightcyan
263    keyword whole audioscrobbler.nowplaying brightcyan
264    keyword whole audioscrobbler.submit brightcyan
265    keyword whole http.get brightcyan
266    keyword whole http.post brightcyan
267    keyword whole icy.update_metadata brightcyan
268    keyword whole interactive.bool brightcyan
269    keyword whole interactive.float brightcyan
270    keyword whole interactive.string brightcyan
271    keyword whole osc.bool brightcyan
272    keyword whole osc.float brightcyan
273    keyword whole osc.float_pair brightcyan
274    keyword whole osc.on_bool brightcyan
275    keyword whole osc.on_float brightcyan
276    keyword whole osc.on_float_pair brightcyan
277    keyword whole osc.on_string brightcyan
278    keyword whole osc.on_string_pair brightcyan
279    keyword whole osc.send_bool brightcyan
280    keyword whole osc.send_float brightcyan
281    keyword whole osc.send_float_pair brightcyan
282    keyword whole osc.send_string brightcyan
283    keyword whole osc.send_string_pair brightcyan
284    keyword whole osc.string brightcyan
285    keyword whole osc.string_pair brightcyan
286    keyword whole print brightcyan
287    keyword whole server.register brightcyan
288    keyword whole add_decoder brightcyan
289    keyword whole add_metadata_resolver brightcyan
290    keyword whole add_oblivious_decoder brightcyan
291    keyword whole add_protocol brightcyan
292    keyword whole clock brightcyan
293    keyword whole clock.assign_new brightcyan
294    keyword whole clock.unify brightcyan
295    keyword whole configure.default_font brightcyan
296    keyword whole configure.libdir brightcyan
297    keyword whole configure.logdir brightcyan
298    keyword whole configure.rundir brightcyan
299    keyword whole enable_replaygain_metadata brightcyan
300    keyword whole file.duration brightcyan
301    keyword whole file.mime brightcyan
302    keyword whole garbage_collect brightcyan
303    keyword whole get brightcyan
304    keyword whole get_clock_status brightcyan
305    keyword whole harbor.http.register brightcyan
306    keyword whole harbor.http.remove brightcyan
307    keyword whole liquidsoap.version brightcyan
308    keyword whole log brightcyan
309    keyword whole log_clocks brightcyan
310    keyword whole metadata.export brightcyan
311    keyword whole playlist.parse brightcyan
312    keyword whole replaygain_protocol brightcyan
313    keyword whole request.create brightcyan
314    keyword whole request.create.raw brightcyan
315    keyword whole request.destroy brightcyan
316    keyword whole request.filename brightcyan
317    keyword whole request.metadata brightcyan
318    keyword whole request.ready brightcyan
319    keyword whole request.resolve brightcyan
320    keyword whole server.execute brightcyan
321    keyword whole set brightcyan
322    keyword whole source.fallible brightcyan
323    keyword whole source.id brightcyan
324    keyword whole source.init brightcyan
325    keyword whole source.is_ready brightcyan
326    keyword whole source.remaining brightcyan
327    keyword whole source.seek brightcyan
328    keyword whole source.shutdown brightcyan
329    keyword whole source.skip brightcyan
330    keyword whole _[_] brightcyan
331    keyword whole list.add brightcyan
332    keyword whole list.append brightcyan
333    keyword whole list.assoc brightcyan
334    keyword whole list.filter brightcyan
335    keyword whole list.fold brightcyan
336    keyword whole list.hd brightcyan
337    keyword whole list.iter brightcyan
338    keyword whole list.length brightcyan
339    keyword whole list.map brightcyan
340    keyword whole list.mem brightcyan
341    keyword whole list.mem_assoc brightcyan
342    keyword whole list.nth brightcyan
343    keyword whole list.randomize brightcyan
344    keyword whole list.remove brightcyan
345    keyword whole list.remove_assoc brightcyan
346    keyword whole list.rev brightcyan
347    keyword whole list.sort brightcyan
348    keyword whole list.tl brightcyan
349    keyword whole abs brightcyan
350    keyword whole bool_of_float brightcyan
351    keyword whole bool_of_int brightcyan
352    keyword whole float_of_int brightcyan
353    keyword whole int_of_float brightcyan
354    keyword whole mod brightcyan
355    keyword whole pow brightcyan
356    keyword whole random.float brightcyan
357    keyword whole random.int brightcyan
358    keyword whole fst brightcyan
359    keyword whole snd brightcyan
360    keyword whole base64.decode brightcyan
361    keyword whole base64.encode brightcyan
362    keyword whole bool_of_string brightcyan
363    keyword whole float_of_string brightcyan
364    keyword whole int_of_string brightcyan
365    keyword whole json_of brightcyan
366    keyword whole of_json brightcyan
367    keyword whole quote brightcyan
368    keyword whole string.capitalize brightcyan
369    keyword whole string.case brightcyan
370    keyword whole string.concat brightcyan
371    keyword whole string.escape brightcyan
372    keyword whole string.extract brightcyan
373    keyword whole string.length brightcyan
374    keyword whole string.match brightcyan
375    keyword whole string.recode brightcyan
376    keyword whole string.replace brightcyan
377    keyword whole string.split brightcyan
378    keyword whole string.utf8.escape brightcyan
379    keyword whole string_of brightcyan
380    keyword whole url.decode brightcyan
381    keyword whole url.encode brightcyan
382    keyword whole url.split brightcyan
383    keyword whole url.split_args brightcyan
384    keyword whole argv brightcyan
385    keyword whole basename brightcyan
386    keyword whole dirname brightcyan
387    keyword whole environment brightcyan
388    keyword whole exe_ext brightcyan
389    keyword whole exec_at brightcyan
390    keyword whole file.exists brightcyan
391    keyword whole file.mime_default brightcyan
392    keyword whole file.watch brightcyan
393    keyword whole get_mime brightcyan
394    keyword whole get_process_lines brightcyan
395    keyword whole get_process_output brightcyan
396    keyword whole getenv brightcyan
397    keyword whole getopt brightcyan
398    keyword whole getpid brightcyan
399    keyword whole gettimeofday brightcyan
400    keyword whole is_directory brightcyan
401    keyword whole on_shutdown brightcyan
402    keyword whole os.type brightcyan
403    keyword whole path.concat brightcyan
404    keyword whole read brightcyan
405    keyword whole reopen.stderr brightcyan
406    keyword whole reopen.stdin brightcyan
407    keyword whole reopen.stdout brightcyan
408    keyword whole restart brightcyan
409    keyword whole setenv brightcyan
410    keyword whole shutdown brightcyan
411    keyword whole source.is_up brightcyan
412    keyword whole source.on_shutdown brightcyan
413    keyword whole system brightcyan
414    keyword whole test_process brightcyan
415    keyword whole playlist.merge brightcyan
416
417context """ """ brightred
418    keyword \\" brightred
419    keyword \\\n brightred
420    keyword %% brightred
421    keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightred
422    keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diu\} brightred
423    keyword %\[hl\]n brightred
424    keyword %\[.\]\[0123456789\]s brightred
425    keyword %[*] brightred
426    keyword %c brightred
427    keyword \\\{0123\}\{01234567\}\{01234567\} brightred
428    keyword \\\\{01234567\}\{01234567\} brightred
429    keyword \\\\{01234567\} brightred
430    keyword \\\\ brightred
431    keyword \\' brightred
432    keyword \\\{abtnvfr\} brightred
433
434context # \n gray
435    keyword coding\{=:\}\[\s\]\[-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] brightmagenta
436    keyword vim:fileencoding=\[-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] brightmagenta
437    keyword -\*-\[\s\]coding:\[\s\]\[-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\]\[\s\]-\*- brightmagenta
438    spellcheck
439
440context " " red
441    keyword #{!\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]}.\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\] brightgreen
442    keyword #{\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]} brightgreen
443    keyword \\" brightgreen
444    keyword %% brightgreen
445    keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
446    keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diuxX\} brightgreen
447    keyword %\[hl\]n brightgreen
448    keyword %\[.\]\[0123456789\]s brightgreen
449    keyword %[*] brightgreen
450    keyword %c brightgreen
451    keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
452    keyword \\\\ brightgreen
453    keyword \\' brightgreen
454    keyword \\\{abtnvfr\} brightgreen
455    keyword ( brightmagenta
456    keyword ) brightmagenta
457
458context ' ' red
459    keyword #{!\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]}.\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\] brightgreen
460    keyword #{\{abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\}\[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\]} brightgreen
461    keyword \\" brightgreen
462    keyword \\\n brightgreen
463    keyword %% brightgreen
464    keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
465    keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diuxX\} brightgreen
466    keyword %\[hl\]n brightgreen
467    keyword %\[.\]\[0123456789\]s brightgreen
468    keyword %[*] brightgreen
469    keyword %c brightgreen
470    keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
471    keyword \\\\ brightgreen
472    keyword \\' brightgreen
473    keyword \\\{abtnvfr\} brightgreen
474    keyword ( brightmagenta
475    keyword ) brightmagenta
476