update emacs config to 21th century

This commit is contained in:
2023-04-12 14:26:43 +02:00
parent 76ce84c43b
commit 725984485a
121 changed files with 6584 additions and 6864 deletions

13
conf-lisp/go.el Normal file
View File

@@ -0,0 +1,13 @@
;; *** Go Lang
(use-package go-mode
:mode "\\.go\\'"
:mode "\\.mod\\'"
:config
(setq gofmt-args '("-s"))
(setq tab-width 4)
(setq indent-tabs-mode 1)
:init
(add-hook 'before-save-hook 'gofmt-before-save))