1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Introduce support for TOML config-format

This commit introduces support for the semi-popular TOML
config-format[1] through a new major-mode: toml-ts-mode.

I've read through the full spec[2], and from what I can see this
major-mode should provide correct syntax-highligting for every sort of
config-declaration which adheres to the specification.

Besides that it also adds support for imenu and basic tree-sitter
based navigation.

[1] https://toml.io/en/
[2] https://toml.io/en/v1.0.0
This commit is contained in:
Jostein Kjønigsen 2022-12-11 13:05:29 +01:00 committed by Yuan Fu
parent 622838b957
commit 1985762fbd
No known key found for this signature in database
GPG key ID: 56E19BC57664A442
2 changed files with 190 additions and 1 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
languages=(
'bash'
'c'
'cmake'
'cpp'
@ -13,8 +14,9 @@ languages=(
'json'
'python'
'rust'
'typescript'
'toml'
'tsx'
'typescript'
)
for language in "${languages[@]}"