diff options
| author | Randy Taylor | 2022-12-11 18:41:16 -0500 |
|---|---|---|
| committer | Yuan Fu | 2022-12-15 17:20:50 -0800 |
| commit | fee2efe1b035d601ac53a32801227402e9be8bca (patch) | |
| tree | da0956063942da9764fea942547d18e100af5cfd /admin | |
| parent | e8f7ab67ad18063155f6a7ba14a29e3679dc1e76 (diff) | |
| download | emacs-fee2efe1b035d601ac53a32801227402e9be8bca.tar.gz 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')
| -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=( | |||
| 9 | 'c-sharp' | 9 | 'c-sharp' |
| 10 | 'dockerfile' | 10 | 'dockerfile' |
| 11 | 'go' | 11 | 'go' |
| 12 | 'go-mod' | ||
| 12 | 'html' | 13 | 'html' |
| 13 | 'javascript' | 14 | 'javascript' |
| 14 | 'json' | 15 | '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 | |||
| 26 | "cmake") | 26 | "cmake") |
| 27 | org="uyha" | 27 | org="uyha" |
| 28 | ;; | 28 | ;; |
| 29 | "go-mod") | ||
| 30 | # The parser is called "gomod". | ||
| 31 | lang="gomod" | ||
| 32 | org="camdencheek" | ||
| 33 | ;; | ||
| 29 | "typescript") | 34 | "typescript") |
| 30 | sourcedir="tree-sitter-typescript/typescript/src" | 35 | sourcedir="tree-sitter-typescript/typescript/src" |
| 31 | grammardir="tree-sitter-typescript/typescript" | 36 | grammardir="tree-sitter-typescript/typescript" |