lang/haskell: refactor +dante submodule

This commit is contained in:
Henrik Lissner 2017-12-10 16:59:34 -05:00
parent 96a232b2ae
commit c85fd98350
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -3,9 +3,10 @@
(def-package! dante
:after haskell-mode
:init
(add-hook! 'haskell-mode-hook #'(dante-mode interactive-haskell-mode))
:hook (haskell-mode . dante-mode)
:config
(add-hook 'haskell-mode-hook #'interactive-haskell-mode)
(unless (executable-find "cabal")
(warn "haskell-mode: couldn't find cabal")
(remove-hook 'haskell-mode-hook #'dante-mode))