factored hindent out as a seperate feature.

This commit is contained in:
Patrick Elliott 2018-06-26 19:15:07 +02:00
parent bc124fae11
commit bec2ad4859
3 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1,6 @@
;;; +hindent.el --- description -*- lexical-binding: t; -*-
;;;###if (featurep! +hindent)
(def-package! hindent
:hook (haskell-mode . hindent-mode))

View file

@ -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

View file

@ -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))