Added doc check for hindent executable

This commit is contained in:
Patrick Elliott 2018-06-26 19:15:35 +02:00
parent bec2ad4859
commit e727e2041f

View file

@ -3,11 +3,15 @@
(when (featurep! +dante) (when (featurep! +dante)
(unless (executable-find "cabal") (unless (executable-find "cabal")
(warn! "Couldn't find cabal, haskell-mode may have issues")) (warn! "Couldn't find cabal, haskell-mode may have issues."))
(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.")))
(when (featurep! +intero) (when (featurep! +intero)
(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")
(warn! "Couldn't find hindent. hindent-mode won't work.")))