General cleanup + refactor

This commit is contained in:
Henrik Lissner 2017-05-25 20:11:24 +02:00
parent 0e78cde69d
commit 10ea06b661
10 changed files with 33 additions and 37 deletions

View file

@ -2,17 +2,14 @@
(def-package! elm-mode
:mode "\\.elm$"
:init
(add-hook 'elm-mode-hook #'flycheck-mode)
(add-hook 'elm-mode-hook #'rainbow-delimiters-mode)
:config
(add-hook! 'elm-mode-hook #'(flycheck-mode rainbow-delimiters-mode))
(set! :company-backend 'elm-mode '(company-elm))
(setq elm-format-on-save t)
)
(setq elm-format-on-save t))
(def-package! flycheck-elm
:after elm-mode
:config
(add-hook! 'flycheck-mode-hook #'flycheck-elm-setup)
)
(add-hook 'flycheck-mode-hook #'flycheck-elm-setup))