2017-08-08 19:14:58 +02:00
|
|
|
;;; lang/haskell/+dante.el -*- lexical-binding: t; -*-
|
2017-12-10 16:57:51 -05:00
|
|
|
;;;###if (featurep! +dante)
|
2017-08-08 19:14:58 +02:00
|
|
|
|
|
|
|
(def-package! dante
|
2018-07-17 23:43:27 +02:00
|
|
|
:init
|
|
|
|
(setq dante-load-flags '(;; defaults:
|
|
|
|
"+c"
|
|
|
|
"-Wwarn=missing-home-modules"
|
|
|
|
"-fno-diagnostics-show-caret"
|
|
|
|
;; neccessary to make attrap-attrap useful:
|
|
|
|
"-Wall"
|
|
|
|
;; necessary to make company completion useful:
|
|
|
|
"-fdefer-typed-holes"
|
|
|
|
"-fdefer-type-errors"))
|
2018-07-17 02:27:39 +02:00
|
|
|
:hook (haskell-mode . dante-mode))
|
2018-07-17 23:43:27 +02:00
|
|
|
|
|
|
|
(def-package! attrap
|
|
|
|
:commands (attrap-attrap))
|