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
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
(assert! (or (not (featurep! +lsp))
|
|
|
|
(featurep! :tools lsp))
|
|
|
|
"This module requires (:tools lsp)")
|
|
|
|
|
2018-03-12 13:16:16 -04:00
|
|
|
(when (featurep! +dante)
|
|
|
|
(unless (executable-find "cabal")
|
2020-04-14 19:27:33 -04:00
|
|
|
(warn! "Couldn't find cabal, haskell-mode may have issues"))
|
2018-07-16 12:50:20 +02:00
|
|
|
(unless (executable-find "hlint")
|
|
|
|
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode")))
|