From 4f9bccef556d57590444e384b16d94c81e5323c9 Mon Sep 17 00:00:00 2001 From: Randy Taylor Date: Tue, 13 Dec 2022 09:41:01 -0500 Subject: 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. --- admin/notes/tree-sitter/build-module/batch.sh | 1 + admin/notes/tree-sitter/build-module/build.sh | 3 +++ 2 files changed, 4 insertions(+) (limited to 'admin') 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" \ -- cgit v1.2.3