doomemacs/modules/lang/haskell/config.el

18 lines
473 B
EmacsLisp
Raw Normal View History

;;; lang/haskell/config.el -*- lexical-binding: t; -*-
2016-03-29 01:06:37 -04:00
(cond ((featurep! +intero) (load! "+intero"))
((featurep! +dante) (load! "+dante")))
;;
;; Common plugins
;;
(def-package! hindent
:hook (haskell-mode . hindent-mode))
(after! haskell-mode
(add-hook 'haskell-mode-hook #'haskell-interactive-mode)
(set-repl-handler! '(haskell-mode haskell-cabal-mode literate-haskell-mode) #'+haskell-repl-buffer)
(add-to-list 'completion-ignored-extensions ".hi"))