all repos — nixfiles @ abddacaec51754d8d5b368510a25640d1d31cf31

System and user configuration, managed by nix and home-manager

emacs: fix indentation in go-mode files

Alan Pearce
commit

abddacaec51754d8d5b368510a25640d1d31cf31

parent

69e4038f3cdb4275ea9e5cd23582ee60e8d0737f

1 file changed, 2 insertions(+), 1 deletion(-)

jump to
M user/emacs/init.eluser/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"))