feat(language/go): switch back to go-mode from go-ts-mode

This commit is contained in:
Jim Myhrberg
2024-12-02 15:06:30 +00:00
parent c3bc47ab47
commit 20bfc9cfe6

View File

@@ -85,10 +85,13 @@
(add-to-list 'completion-ignored-extensions ".test"))
(when (fboundp 'go-ts-mode)
;; TODO: Re-evaluate go-ts-mode in the future. Right now it's immediate
;; highlighting of syntax errors is a bit annoying, as it makes whole blocks
;; of code bright yellow around the cursor as you're typing.
(use-package go-ts-mode
:straight (:type built-in)
:mode "\\.go\\'"
:interpreter "go"
;; :mode "\\.go\\'"
;; :interpreter "go"
:hook
(go-ts-mode . siren-go-ts-mode-setup)