From 3341270781468556bce95dd64ff17ca88b9a507e Mon Sep 17 00:00:00 2001 From: Jeetaditya Chatterjee Date: Sat, 15 Jan 2022 18:30:57 +0000 Subject: [PATCH] docs(haskell): add lsp predicate to format check So that if someone follows the advice of the warning, it will then go away --- modules/lang/haskell/doctor.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/haskell/doctor.el b/modules/lang/haskell/doctor.el index 726d83ede..e15c1c435 100644 --- a/modules/lang/haskell/doctor.el +++ b/modules/lang/haskell/doctor.el @@ -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)