doomemacs/modules/lang/haskell/+intero.el
2018-04-23 00:34:03 -04:00

13 lines
373 B
EmacsLisp

;;; lang/haskell/+intero.el -*- lexical-binding: t; -*-
;;;###if (featurep! +intero)
(def-package! intero
:after haskell-mode
:config
(add-hook 'haskell-mode-hook #'+haskell|init-intero)
(add-hook 'intero-mode-hook #'flycheck-mode)
(set! :lookup 'haskell-mode :definition #'intero-goto-definition))
(def-package! hindent
:hook (haskell-mode . hindent-mode))