got rid of hindent as a seperate feature

This commit is contained in:
Patrick Elliott 2018-06-26 19:34:36 +02:00
parent e727e2041f
commit 19400598b4
4 changed files with 6 additions and 14 deletions

View file

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

View file

@ -3,13 +3,13 @@
(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
;; ;;
(def-package! hindent
:hook (haskell-mode . hindent-mode))
(after! haskell-mode (after! haskell-mode
(set-repl-handler! 'haskell-mode #'switch-to-haskell) (set-repl-handler! 'haskell-mode #'switch-to-haskell)
(add-to-list 'completion-ignored-extensions ".hi")) (add-to-list 'completion-ignored-extensions ".hi"))

View file

@ -11,7 +11,6 @@
(unless (executable-find "stack") (unless (executable-find "stack")
(warn! "Couldn't find stack. Intero will not work."))) (warn! "Couldn't find stack. Intero will not work.")))
(when (featurep! +hindent) (unless (executable-find "hindent")
(unless (executable-find "hindent") (warn! "Couldn't find hindent. hindent-mode won't work."))
(warn! "Couldn't find hindent. hindent-mode won't work.")))

View file

@ -8,6 +8,5 @@
(package! dante)) (package! dante))
(t (package! intero))) (t (package! intero)))
(when (featurep! +hindent) (package! hindent)
(package! hindent))