Fix go line indent error

This commit is contained in:
Alexander Rosenberg 2024-03-08 23:27:07 -08:00
parent 68b5afda96
commit 3c98222dfe
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -769,14 +769,11 @@ COMMAND and COMINT are like `compile'."
(add-to-list 'auto-mode-alist '("\\.php\\|\\.phtml\\'" . my/poly-web-mode)))
;; go mode
(use-package go-mode)
(use-package go-mode
:defer nil)
(use-package go-ts-mode
:ensure nil
:hook ((go-ts-mode . eglot-ensure)
(go-ts-mode . my/-setup-go-ts-mode))
:init
(defun my/-setup-go-ts-mode ()
(setq-local indent-line-function #'go-mode-indent-line)))
:hook (go-ts-mode . eglot-ensure))
;; rust
(use-package rust-mode)