summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el3
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"))