diff options
author | Randy Taylor <dev@rjt.dev> | 2022-12-11 18:41:16 -0500 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-12-15 17:20:50 -0800 |
commit | fee2efe1b035d601ac53a32801227402e9be8bca (patch) | |
tree | da0956063942da9764fea942547d18e100af5cfd /admin/notes/tree-sitter/build-module | |
parent | e8f7ab67ad18063155f6a7ba14a29e3679dc1e76 (diff) | |
download | emacs-fee2efe1b035d601ac53a32801227402e9be8bca.tar.gz emacs-fee2efe1b035d601ac53a32801227402e9be8bca.tar.bz2 emacs-fee2efe1b035d601ac53a32801227402e9be8bca.zip |
Add go-ts-mode and go-mod-ts-mode (Bug#60025)
* admin/notes/tree-sitter/build-module/batch.sh:
* admin/notes/tree-sitter/build-module/build.sh: Add go-mod support.
* etc/NEWS: Mention them.
* lisp/progmodes/eglot.el (eglot-server-programs): Add them.
* lisp/progmodes/go-ts-mode.el: New major modes with
tree-sitter support.
Diffstat (limited to 'admin/notes/tree-sitter/build-module')
-rwxr-xr-x | admin/notes/tree-sitter/build-module/batch.sh | 1 | ||||
-rwxr-xr-x | admin/notes/tree-sitter/build-module/build.sh | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/admin/notes/tree-sitter/build-module/batch.sh b/admin/notes/tree-sitter/build-module/batch.sh index e7ef45cf57d..c50b9df37ed 100755 --- a/admin/notes/tree-sitter/build-module/batch.sh +++ b/admin/notes/tree-sitter/build-module/batch.sh @@ -9,6 +9,7 @@ languages=( 'c-sharp' 'dockerfile' 'go' + 'go-mod' 'html' 'javascript' 'json' diff --git a/admin/notes/tree-sitter/build-module/build.sh b/admin/notes/tree-sitter/build-module/build.sh index 4195ea58c3c..b6c83ea9b99 100755 --- a/admin/notes/tree-sitter/build-module/build.sh +++ b/admin/notes/tree-sitter/build-module/build.sh @@ -26,6 +26,11 @@ case "${lang}" in "cmake") org="uyha" ;; + "go-mod") + # The parser is called "gomod". + lang="gomod" + org="camdencheek" + ;; "typescript") sourcedir="tree-sitter-typescript/typescript/src" grammardir="tree-sitter-typescript/typescript" |