Browse Source

~/.emacs.d: use `go fmt` automatically

Lucas Stadler 11 years ago
parent
commit
3254ce2ea8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .emacs.d/init.el

+ 2 - 0
.emacs.d/init.el

@ -13,6 +13,8 @@
13 13
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
14 14
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
15 15
16
(add-hook 'before-save-hook #'gofmt-before-save)
17
16 18
(add-to-list 'auto-mode-alist '("\\.edn\\'" . clojure-mode))
17 19
18 20
(add-hook 'clojure-mode-hook 'paredit-mode)