emacs: fix indentation in go-mode files
Alan Pearce alan@alanpearce.eu
Sun, 28 Apr 2024 19:52:32 +0200
1 files changed, 2 insertions(+), 1 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -745,7 +745,8 @@ (use-package treesit-auto :config (global-treesit-auto-mode)) ;;;; golang -(setq go-mode-indent-offset tab-width) +(setq go-mode-indent-offset tab-width + go-ts-mode-indent-offset tab-width) (with-eval-after-load 'project (add-to-list 'project-vc-extra-root-markers "go.mod"))