From e727e2041ff9b1657f5e74057da4622c0fa1f932 Mon Sep 17 00:00:00 2001 From: Patrick Elliott Date: Tue, 26 Jun 2018 19:15:35 +0200 Subject: [PATCH] Added doc check for hindent executable --- modules/lang/haskell/doctor.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/lang/haskell/doctor.el b/modules/lang/haskell/doctor.el index b62d40aa1..6840470fa 100644 --- a/modules/lang/haskell/doctor.el +++ b/modules/lang/haskell/doctor.el @@ -3,11 +3,15 @@ (when (featurep! +dante) (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") - (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) (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.")))