From 6338c94415039f19abbfe98611b93ac1173b0ad6 Mon Sep 17 00:00:00 2001 From: kj Date: Wed, 5 Aug 2026 18:43:10 -0300 Subject: [PATCH] feat(go): configure go-ts-mode indentation and file association --- configs/lang-go.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/lang-go.el b/configs/lang-go.el index 9cb0cd3..371cb4a 100644 --- a/configs/lang-go.el +++ b/configs/lang-go.el @@ -11,6 +11,10 @@ (use-package go-ts-mode :ensure nil + :mode "\\.go\\'" + :custom + (go-ts-mode-indent-offset 4) + (indent-tabs-mode 1) :hook (go-ts-mode . (lambda () (add-hook 'before-save-hook