Refactored dante feature.

This commit is contained in:
Patrick Elliott 2018-06-23 15:59:03 +02:00
parent a53503eadb
commit 7627b04f18
3 changed files with 6 additions and 18 deletions

View file

@ -4,9 +4,8 @@
(when (featurep! +dante)
(unless (executable-find "cabal")
(warn! "Couldn't find cabal, haskell-mode may have issues"))
(unless (executable-find "ghc-mod")
(warn! "Couldn't find ghc-mod on PATH. Code completion will not work")))
(unless (executable-find "hlint")
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode/")))
(when (featurep! +intero)
(unless (executable-find "stack")