2018-03-20 21:19:37 -04:00
|
|
|
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
|
|
;;; lang/haskell/doctor.el
|
2018-03-12 13:16:16 -04:00
|
|
|
|
|
|
|
(when (featurep! +dante)
|
|
|
|
(unless (executable-find "cabal")
|
2018-06-26 19:15:35 +02:00
|
|
|
(warn! "Couldn't find cabal, haskell-mode may have issues."))
|
2018-06-23 15:59:03 +02:00
|
|
|
(unless (executable-find "hlint")
|
2018-06-26 19:15:35 +02:00
|
|
|
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode.")))
|
2018-03-12 13:16:16 -04:00
|
|
|
|
|
|
|
(when (featurep! +intero)
|
|
|
|
(unless (executable-find "stack")
|
2018-06-26 19:15:35 +02:00
|
|
|
(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.")))
|
2018-03-12 13:16:16 -04:00
|
|
|
|