Re-order blocks

This commit is contained in:
Patrick Elliott 2018-07-19 11:05:31 +02:00
parent c51b088c6e
commit 96ecadf9e6

View file

@ -2,6 +2,7 @@
;;;###if (featurep! +dante) ;;;###if (featurep! +dante)
(def-package! dante (def-package! dante
:hook (haskell-mode . dante-mode)
:init :init
(setq dante-load-flags '(;; defaults: (setq dante-load-flags '(;; defaults:
"+c" "+c"
@ -12,7 +13,6 @@
;; necessary to make company completion useful: ;; necessary to make company completion useful:
"-fdefer-typed-holes" "-fdefer-typed-holes"
"-fdefer-type-errors")) "-fdefer-type-errors"))
:hook (haskell-mode . dante-mode)
:config :config
(when (featurep! :feature syntax-checker) (when (featurep! :feature syntax-checker)
(flycheck-add-next-checker 'haskell-dante '(warning . haskell-hlint))) (flycheck-add-next-checker 'haskell-dante '(warning . haskell-hlint)))