2017-08-08 19:14:58 +02:00
|
|
|
;;; lang/haskell/+dante.el -*- lexical-binding: t; -*-
|
|
|
|
|
|
|
|
(def-package! dante
|
|
|
|
:after haskell-mode
|
|
|
|
:init
|
|
|
|
(add-hook! 'haskell-mode-hook #'(dante-mode interactive-haskell-mode))
|
|
|
|
:config
|
|
|
|
(unless (executable-find "cabal")
|
|
|
|
(warn "haskell-mode: couldn't find cabal")
|
|
|
|
(remove-hook 'haskell-mode-hook #'dante-mode))
|
|
|
|
|
2017-10-03 00:52:16 +02:00
|
|
|
(add-hook 'dante-mode-hook #'flycheck-mode))
|
2017-08-08 19:14:58 +02:00
|
|
|
|