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:
parent
622838b957
commit
1985762fbd
2 changed files with 190 additions and 1 deletions
|
|
@ -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[@]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue