14 lines
400 B
EmacsLisp
14 lines
400 B
EmacsLisp
;;; lang/haskell/+dante.el -*- lexical-binding: t; -*-
|
|
;;;###if (featurep! +dante)
|
|
|
|
(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))
|
|
|
|
(add-hook 'dante-mode-hook #'flycheck-mode))
|
|
|