My personal emacs configuration

Use "gofmt" for formatting Go code

For whatever reason, emacs does not seem to be able to find goimports when
running in GUI mode, and I do not terribly feel like figuring it out.

+1 -1
+1 -1
init.el
··· 162 ((before-save . gofmt-before-save) 163 (go-mode . flycheck-mode )) 164 :config 165 - (setq gofmt-command "goimports")) ;; Go 166 (use-package hcl-mode :ensure t) ; HCL 167 (use-package markdown-mode 168 :ensure t
··· 162 ((before-save . gofmt-before-save) 163 (go-mode . flycheck-mode )) 164 :config 165 + (setq gofmt-command "gofmt")) ;; Go 166 (use-package hcl-mode :ensure t) ; HCL 167 (use-package markdown-mode 168 :ensure t