got rid of hindent as a seperate feature
This commit is contained in:
parent
e727e2041f
commit
19400598b4
4 changed files with 6 additions and 14 deletions
|
@ -1,6 +0,0 @@
|
|||
;;; +hindent.el --- description -*- lexical-binding: t; -*-
|
||||
;;;###if (featurep! +hindent)
|
||||
|
||||
(def-package! hindent
|
||||
:hook (haskell-mode . hindent-mode))
|
||||
|
|
@ -3,13 +3,13 @@
|
|||
(cond ((featurep! +intero) (load! "+intero"))
|
||||
((featurep! +dante) (load! "+dante")))
|
||||
|
||||
(when (featurep! +hindent) (load! "+hindent"))
|
||||
|
||||
|
||||
;;
|
||||
;; Common plugins
|
||||
;;
|
||||
|
||||
(def-package! hindent
|
||||
:hook (haskell-mode . hindent-mode))
|
||||
|
||||
(after! haskell-mode
|
||||
(set-repl-handler! 'haskell-mode #'switch-to-haskell)
|
||||
(add-to-list 'completion-ignored-extensions ".hi"))
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
(unless (executable-find "stack")
|
||||
(warn! "Couldn't find stack. Intero will not work.")))
|
||||
|
||||
(when (featurep! +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."))
|
||||
|
||||
|
|
|
@ -8,6 +8,5 @@
|
|||
(package! dante))
|
||||
(t (package! intero)))
|
||||
|
||||
(when (featurep! +hindent)
|
||||
(package! hindent))
|
||||
(package! hindent)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue