diff options
author | Case Duckworth | 2020-11-27 12:18:23 -0600 |
---|---|---|
committer | Case Duckworth | 2020-11-27 12:18:23 -0600 |
commit | a923725f6da0ce55e03f1e98362a9423e91a67e6 (patch) | |
tree | 665d0f0442842e479b515c37964723d9a7fbd2cc | |
parent | Rename EMMS to Bongo (diff) | |
download | emacs-a923725f6da0ce55e03f1e98362a9423e91a67e6.tar.gz emacs-a923725f6da0ce55e03f1e98362a9423e91a67e6.zip |
Add before-save-hook to golang section
-rw-r--r-- | config.org | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.org b/config.org index 4acf2ca..b2617dd 100644 --- a/config.org +++ b/config.org | |||
@@ -1045,7 +1045,9 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el | |||
1045 | 1045 | ||
1046 | #+begin_src emacs-lisp | 1046 | #+begin_src emacs-lisp |
1047 | (use-package go-mode | 1047 | (use-package go-mode |
1048 | :mode "\\.go\\'") | 1048 | :mode "\\.go\\'" |
1049 | :hook | ||
1050 | (before-save . gofmt-before-save)) | ||
1049 | #+end_src | 1051 | #+end_src |
1050 | 1052 | ||
1051 | * Applications | 1053 | * Applications |