docs(haskell): improve doctor checks
Co-authored-by: Daanturo <daanturo@gmail.com>
This commit is contained in:
parent
d1555257a8
commit
11f7b9b41a
1 changed files with 18 additions and 3 deletions
|
@ -6,6 +6,21 @@
|
||||||
"This module requires (:tools lsp)")
|
"This module requires (:tools lsp)")
|
||||||
|
|
||||||
(unless (executable-find "cabal")
|
(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"))
|
(unless (executable-find "hoogle")
|
||||||
|
(warn! "Couldn't find hoogle. Documentation searching will not work."))
|
||||||
|
|
||||||
|
(unless (or (featurep! +lsp)
|
||||||
|
(executable-find "hlint"))
|
||||||
|
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode.
|
||||||
|
Install it or enable +lsp."))
|
||||||
|
|
||||||
|
(when (and (featurep! :editor format)
|
||||||
|
(not (executable-find "brittany")))
|
||||||
|
(warn! "Couldn't find brittany. Code formatting will not work.
|
||||||
|
Install it or enable +lsp."))
|
||||||
|
|
||||||
|
(when (and (featurep! +lsp)
|
||||||
|
(not (executable-find "haskell-language-server-wrapper")))
|
||||||
|
(warn! "Couldn't find haskell-language-server."))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue