diff options
author | Alan Pearce | 2024-04-28 19:52:32 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-28 19:52:32 +0200 |
commit | abddacaec51754d8d5b368510a25640d1d31cf31 (patch) | |
tree | 81368374399c7f1d65b20423752d9b0738f8b8ec | |
parent | 69e4038f3cdb4275ea9e5cd23582ee60e8d0737f (diff) | |
download | nixfiles-abddacaec51754d8d5b368510a25640d1d31cf31.tar.lz nixfiles-abddacaec51754d8d5b368510a25640d1d31cf31.tar.zst nixfiles-abddacaec51754d8d5b368510a25640d1d31cf31.zip |
emacs: fix indentation in go-mode files
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 70cd6a8e..75b4b2c0 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -745,7 +745,8 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve :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")) |