mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(language/go): switch back to go-mode from go-ts-mode
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user