2017-06-08 11:47:56 +02:00
|
|
|
;;; lang/haskell/config.el -*- lexical-binding: t; -*-
|
2016-03-29 01:06:37 -04:00
|
|
|
|
2018-05-27 12:44:22 +02:00
|
|
|
(cond ((featurep! +intero) (load! "+intero"))
|
|
|
|
((featurep! +dante) (load! "+dante")))
|
2017-10-03 00:52:16 +02:00
|
|
|
|
|
|
|
;;
|
|
|
|
;; Common plugins
|
|
|
|
;;
|
|
|
|
|
2018-06-26 19:34:36 +02:00
|
|
|
(def-package! hindent
|
|
|
|
:hook (haskell-mode . hindent-mode))
|
|
|
|
|
2018-05-25 00:46:11 +02:00
|
|
|
(after! haskell-mode
|
2018-06-15 16:07:24 +02:00
|
|
|
(set-repl-handler! 'haskell-mode #'switch-to-haskell)
|
2018-05-25 00:46:11 +02:00
|
|
|
(add-to-list 'completion-ignored-extensions ".hi"))
|
2017-08-08 19:14:58 +02:00
|
|
|
|