summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorJostein Kjønigsen <jostein@kjonigsen.net>2022-12-11 13:05:29 +0100
committerYuan Fu <casouri@gmail.com>2022-12-14 14:24:09 -0800
commit1985762fbd727024cecef463a079ad25fb8c1482 (patch)
treedc4776d823c31acf88302cf633b00bf25cb7b473 /admin
parent622838b957e240d700585050e9ddbd036e690513 (diff)
downloademacs-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')
-rwxr-xr-xadmin/notes/tree-sitter/build-module/batch.sh4
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[@]}"