diff --git a/misc/syntax/Makefile.am b/misc/syntax/Makefile.am
index 0a3bb120e..59944564d 100644
a
|
b
|
SYNTAXFILES = \ |
90 | 90 | syntax.syntax \ |
91 | 91 | tcl.syntax \ |
92 | 92 | texinfo.syntax \ |
| 93 | toml.syntax \ |
93 | 94 | ts.syntax \ |
94 | 95 | tt.syntax \ |
95 | 96 | unknown.syntax \ |
diff --git a/misc/syntax/Syntax.in b/misc/syntax/Syntax.in
index 01dad61a3..0242b83eb 100644
a
|
b
|
include swift.syntax |
328 | 328 | file ..\*\\.action$ Privoxy\sFile |
329 | 329 | include privoxy.syntax |
330 | 330 | |
| 331 | file .\*\\.toml TOML\sFile |
| 332 | include toml.syntax |
| 333 | |
331 | 334 | file .\* unknown |
332 | 335 | include unknown.syntax |
diff --git a/misc/syntax/toml.syntax b/misc/syntax/toml.syntax
new file mode 100644
index 000000000..0a1dff44f
-
|
+
|
|
| 1 | # TOML: Tom's Obvious Minimal Language |
| 2 | |
| 3 | context default white |
| 4 | |
| 5 | # groups |
| 6 | context [ \n brown |
| 7 | keyword [ yellow |
| 8 | keyword ] yellow |
| 9 | |
| 10 | # assignment |
| 11 | context exclusive = \n write |
| 12 | keyword "*" brightgreen |
| 13 | keyword whole false brightcyan |
| 14 | keyword whole true brightcyan |
| 15 | keyword \{0123456789\} brightcyan |
| 16 | |
| 17 | # comments |
| 18 | context # \n brown |
| 19 | spellcheck |
| 20 | |
| 21 | # other strings |
| 22 | context " " brightgreen |