feat(go): add treesit support

This commit is contained in:
Henrik Lissner
2025-06-28 20:10:08 +02:00
parent 3155fefd47
commit 7c6e1950e8
3 changed files with 29 additions and 12 deletions

View File

@@ -9,6 +9,10 @@
(modulep! :tools tree-sitter))
"This module requires (:tools tree-sitter)")
(assert! (or (not (modulep! +tree-sitter))
(fboundp 'go-ts-mode))
"Can't find `go-ts-mode'; Emacs 31.1+ is required")
(unless (executable-find "gore")
(warn! "Couldn't find gore. REPL will not work"))