docs(haskell): add lsp predicate to format check

So that if someone follows the advice of the warning, it will then go
away
This commit is contained in:
Jeetaditya Chatterjee 2022-01-15 18:30:57 +00:00 committed by Henrik Lissner
parent 94c38f289c
commit 3341270781

View file

@ -17,8 +17,9 @@
Install it or enable +lsp."))
(when (and (featurep! :editor format)
(not (featurep! +lsp))
(not (executable-find "brittany")))
(warn! "Couldn't find brittany. Code formatting will not work.
(warn! "Couldn't find brittany. Code formatting will not work.
Install it or enable +lsp."))
(when (and (featurep! +lsp)