Files
doomemacs/modules/lang/haskell/+dante.el
Patrick Elliott 2589619793 simplified hook
2018-06-23 17:51:22 +02:00

10 lines
290 B
EmacsLisp

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