doomemacs/modules/lang/haskell/config.el
2018-06-26 19:34:36 +02:00

16 lines
368 B
EmacsLisp

;;; lang/haskell/config.el -*- lexical-binding: t; -*-
(cond ((featurep! +intero) (load! "+intero"))
((featurep! +dante) (load! "+dante")))
;;
;; Common plugins
;;
(def-package! hindent
:hook (haskell-mode . hindent-mode))
(after! haskell-mode
(set-repl-handler! 'haskell-mode #'switch-to-haskell)
(add-to-list 'completion-ignored-extensions ".hi"))