Removed hindent (included in format-all)

This commit is contained in:
Patrick Elliott 2018-08-27 12:05:03 +02:00
parent 98b5c95ee5
commit 9b3442edae
No known key found for this signature in database
GPG key ID: 7CA109C3974AF5FA
3 changed files with 1 additions and 10 deletions

View file

@ -7,15 +7,12 @@
;; Common plugins
;;
(def-package! hindent
:hook (haskell-mode . hindent-mode))
(after! haskell-mode
(setq haskell-process-suggest-remove-import-lines t ; warnings for redundant imports etc
haskell-process-auto-import-loaded-modules t)
(when (featurep! :feature syntax-checker)
(setq haskell-process-show-overlays nil)) ; flycheck makes this unnecessary
(add-hook! 'haskell-mode-hook
(add-hook! 'haskell-mode-hook
#'(subword-mode ; improves text navigation with camelCase
haskell-collapse-mode ; support folding haskell code blocks
interactive-haskell-mode))
@ -30,8 +27,6 @@
;; this is set to use cabal for dante users and stack for intero users:
:n "b" #'haskell-process-cabal-build
:n "c" #'haskell-cabal-visit-file
:n "p" #'hindent-reformat-buffer
:v "p" #'hindent-reformat-region
:v "h" #'haskell-hide-toggle
:nv "H" #'haskell-hide-toggle-all))

View file

@ -9,9 +9,6 @@
(unless (executable-find "stack")
(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))
(unless (executable-find "hlint")
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode")))

View file

@ -2,7 +2,6 @@
;;; lang/haskell/packages.el
(package! haskell-mode)
(package! hindent)
(cond ((featurep! +dante)
(package! dante)