2017-08-08 19:14:58 +02:00
|
|
|
;;; lang/haskell/+dante.el -*- lexical-binding: t; -*-
|
2017-12-10 16:57:51 -05:00
|
|
|
;;;###if (featurep! +dante)
|
2017-08-08 19:14:58 +02:00
|
|
|
|
|
|
|
(def-package! dante
|
|
|
|
:after haskell-mode
|
2017-12-10 16:59:34 -05:00
|
|
|
:hook (haskell-mode . dante-mode)
|
2017-08-08 19:14:58 +02:00
|
|
|
:config
|
|
|
|
(unless (executable-find "cabal")
|
2018-02-14 07:40:05 -05:00
|
|
|
(warn! "Couldn't find cabal, haskell-mode may have issues"))
|
2017-08-08 19:14:58 +02:00
|
|
|
|
2018-02-14 07:40:05 -05:00
|
|
|
(add-hook 'haskell-mode-hook #'interactive-haskell-mode)
|
2017-10-03 00:52:16 +02:00
|
|
|
(add-hook 'dante-mode-hook #'flycheck-mode))
|
2017-08-08 19:14:58 +02:00
|
|
|
|