summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorRandy Taylor <dev@rjt.dev>2022-12-13 09:41:01 -0500
committerYuan Fu <casouri@gmail.com>2022-12-16 14:55:02 -0800
commit4f9bccef556d57590444e384b16d94c81e5323c9 (patch)
treedf179c98ff56f6bd1a1620e2192d0c201f501b56 /admin
parentf9cb144d45a9ff64f57edd1f93b7ac2ae0efdd34 (diff)
downloademacs-4f9bccef556d57590444e384b16d94c81e5323c9.tar.gz
Add yaml-ts-mode (Bug#60105)
* admin/notes/tree-sitter/build-module/batch.sh: * admin/notes/tree-sitter/build-module/build.sh: Add yaml support. * etc/NEWS: Mention it. * lisp/textmodes/yaml-ts-mode.el: New major mode with tree-sitter support. * lisp/progmodes/eglot.el (eglot-server-programs): Add it.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/notes/tree-sitter/build-module/batch.sh1
-rwxr-xr-xadmin/notes/tree-sitter/build-module/build.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/admin/notes/tree-sitter/build-module/batch.sh b/admin/notes/tree-sitter/build-module/batch.sh
index c50b9df37ed..58272c74549 100755
--- a/admin/notes/tree-sitter/build-module/batch.sh
+++ b/admin/notes/tree-sitter/build-module/batch.sh
@@ -18,6 +18,7 @@ languages=(
'toml'
'tsx'
'typescript'
+ 'yaml'
)
for language in "${languages[@]}"
diff --git a/admin/notes/tree-sitter/build-module/build.sh b/admin/notes/tree-sitter/build-module/build.sh
index b6c83ea9b99..f0962940287 100755
--- a/admin/notes/tree-sitter/build-module/build.sh
+++ b/admin/notes/tree-sitter/build-module/build.sh
@@ -40,6 +40,9 @@ case "${lang}" in
sourcedir="tree-sitter-typescript/tsx/src"
grammardir="tree-sitter-typescript/tsx"
;;
+ "yaml")
+ org="ikatyang"
+ ;;
esac
git clone "https://github.com/${org}/${repo}.git" \