[breaking] lang/haskell: refactor + require flags #158
The +intero/+dante module flags are now required; there is no default.
This commit is contained in:
parent
6be89e1df6
commit
061e71a846
3 changed files with 10 additions and 7 deletions
|
@ -12,7 +12,7 @@
|
|||
(add-hook! 'intero-mode-hook #'(flycheck-mode eldoc-mode))
|
||||
|
||||
(set! :popup "^intero:backend:" :regex t :size 12)
|
||||
(set! :jump :definition #'intero-goto-definition))
|
||||
(set! :jump 'haskell-mode :definition #'intero-goto-definition))
|
||||
|
||||
|
||||
(def-package! hindent
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
;;; lang/haskell/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(cond ((featurep! +intero) (load! +intero))
|
||||
((featurep! +dante) (load! +dante)))
|
||||
|
||||
|
||||
;;
|
||||
;; Common plugins
|
||||
;;
|
||||
|
||||
(def-package! haskell-mode
|
||||
:mode "\\.hs$"
|
||||
:mode ("\\.ghci$" . ghci-script-mode)
|
||||
|
@ -30,8 +38,3 @@
|
|||
|
||||
(setq company-ghc-show-info 'oneline))
|
||||
|
||||
|
||||
;;
|
||||
(if (featurep! +dante)
|
||||
(load! +dante)
|
||||
(load! +intero))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue