Removed hindent (included in format-all)
This commit is contained in:
parent
98b5c95ee5
commit
9b3442edae
3 changed files with 1 additions and 10 deletions
|
@ -7,9 +7,6 @@
|
||||||
;; Common plugins
|
;; Common plugins
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(def-package! hindent
|
|
||||||
:hook (haskell-mode . hindent-mode))
|
|
||||||
|
|
||||||
(after! haskell-mode
|
(after! haskell-mode
|
||||||
(setq haskell-process-suggest-remove-import-lines t ; warnings for redundant imports etc
|
(setq haskell-process-suggest-remove-import-lines t ; warnings for redundant imports etc
|
||||||
haskell-process-auto-import-loaded-modules t)
|
haskell-process-auto-import-loaded-modules t)
|
||||||
|
@ -30,8 +27,6 @@
|
||||||
;; this is set to use cabal for dante users and stack for intero users:
|
;; this is set to use cabal for dante users and stack for intero users:
|
||||||
:n "b" #'haskell-process-cabal-build
|
:n "b" #'haskell-process-cabal-build
|
||||||
:n "c" #'haskell-cabal-visit-file
|
:n "c" #'haskell-cabal-visit-file
|
||||||
:n "p" #'hindent-reformat-buffer
|
|
||||||
:v "p" #'hindent-reformat-region
|
|
||||||
:v "h" #'haskell-hide-toggle
|
:v "h" #'haskell-hide-toggle
|
||||||
:nv "H" #'haskell-hide-toggle-all))
|
:nv "H" #'haskell-hide-toggle-all))
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,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")))
|
||||||
|
|
||||||
(unless (executable-find "hindent")
|
|
||||||
(warn! "Couldn't find hindent. hindent-mode won't work"))
|
|
||||||
|
|
||||||
(when (or (featurep! +dante) (featurep! +intero))
|
(when (or (featurep! +dante) (featurep! +intero))
|
||||||
(unless (executable-find "hlint")
|
(unless (executable-find "hlint")
|
||||||
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode")))
|
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode")))
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
;;; lang/haskell/packages.el
|
;;; lang/haskell/packages.el
|
||||||
|
|
||||||
(package! haskell-mode)
|
(package! haskell-mode)
|
||||||
(package! hindent)
|
|
||||||
|
|
||||||
(cond ((featurep! +dante)
|
(cond ((featurep! +dante)
|
||||||
(package! dante)
|
(package! dante)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue