doomemacs/modules/lang/haskell/+dante.el

10 lines
305 B
EmacsLisp
Raw Normal View History

;;; lang/haskell/+dante.el -*- lexical-binding: t; -*-
;;;###if (featurep! +dante)
(def-package! dante
:hook (haskell-mode . dante-mode)
:config
2018-06-23 15:59:03 +02:00
(when (featurep! :feature syntax-checker)
(add-hook! 'dante-mode-hook
(flycheck-add-next-checker 'haskell-dante '(warning . haskell-hlint)))))