Change go-ts-mode settings

This commit is contained in:
2025-12-11 14:58:02 -08:00
parent e9ddc573d9
commit d369af08e2

10
init.el
View File

@ -2065,12 +2065,10 @@ This is :around advice, so OLDFUN is the real function
:hook (go-mode . my/eglot-if-trusted)
:config
(my/setup-c-style-newline-keys go-mode-map))
;; (use-package go-ts-mode
;; :ensure nil
;; :hook (go-ts-mode . my/eglot-if-trusted)
;; :custom (go-ts-mode-indent-offset 4)
;; :config
;; (my/setup-c-style-newline-keys go-ts-mode-map))
(use-package go-ts-mode
:ensure nil
:hook (go-ts-mode . my/eglot-if-trusted)
:custom (go-ts-mode-indent-offset 4))
;; rust
(use-package rust-mode)