fix(tazjin/emacs): fix Go indentation offset in tree-sitter mode

Change-Id: Id72ddc6345ee3eb70b7a1d594fe6bcd60d8d0868
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12020
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2024-07-22 17:32:34 +03:00 committed by clbot
parent 14a4b4cbc3
commit 849e639c71

View file

@ -126,12 +126,9 @@
(use-package f) (use-package f)
(use-package go-mode (use-package go-ts-mode
:bind (:map go-mode-map ("C-c C-r" . recompile)) :custom
:hook ((go-mode . (lambda () (go-ts-mode-indent-offset 4))
(setq tab-width 2)
(setq-local compile-command
(concat "go build " buffer-file-name))))))
(use-package haskell-mode) (use-package haskell-mode)