feat(go): configure go-ts-mode indentation and file association
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user