diff options
author | Jostein Kjønigsen <jostein@kjonigsen.net> | 2022-12-11 13:05:29 +0100 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-12-14 14:24:09 -0800 |
commit | 1985762fbd727024cecef463a079ad25fb8c1482 (patch) | |
tree | dc4776d823c31acf88302cf633b00bf25cb7b473 /admin/notes | |
parent | 622838b957e240d700585050e9ddbd036e690513 (diff) | |
download | emacs-1985762fbd727024cecef463a079ad25fb8c1482.tar.gz |
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
Diffstat (limited to 'admin/notes')
-rwxr-xr-x | admin/notes/tree-sitter/build-module/batch.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/notes/tree-sitter/build-module/batch.sh b/admin/notes/tree-sitter/build-module/batch.sh index c3954499774..e7ef45cf57d 100755 --- a/admin/notes/tree-sitter/build-module/batch.sh +++ b/admin/notes/tree-sitter/build-module/batch.sh @@ -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[@]}" |