doomemacs/modules/lang/haskell/doctor.el

18 lines
574 B
EmacsLisp
Raw Normal View History

2018-03-20 21:19:37 -04:00
;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/haskell/doctor.el
(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.")))
(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.")))