factored hindent out as a seperate feature.
This commit is contained in:
parent
bc124fae11
commit
bec2ad4859
3 changed files with 12 additions and 3 deletions
6
modules/lang/haskell/+hindent.el
Normal file
6
modules/lang/haskell/+hindent.el
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
;;; +hindent.el --- description -*- lexical-binding: t; -*-
|
||||||
|
;;;###if (featurep! +hindent)
|
||||||
|
|
||||||
|
(def-package! hindent
|
||||||
|
:hook (haskell-mode . hindent-mode))
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
(cond ((featurep! +intero) (load! "+intero"))
|
(cond ((featurep! +intero) (load! "+intero"))
|
||||||
((featurep! +dante) (load! "+dante")))
|
((featurep! +dante) (load! "+dante")))
|
||||||
|
|
||||||
|
(when (featurep! +hindent) (load! "+hindent"))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Common plugins
|
;; Common plugins
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
;;
|
;;
|
||||||
(cond ((featurep! +dante)
|
(cond ((featurep! +dante)
|
||||||
(package! dante))
|
(package! dante))
|
||||||
(t
|
(t (package! intero)))
|
||||||
(package! intero)
|
|
||||||
(package! hindent)))
|
(when (featurep! +hindent)
|
||||||
|
(package! hindent))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue