refactor: use negated flags

Ref: 7a806521a92c
This commit is contained in:
Henrik Lissner
2024-10-19 14:57:44 -04:00
parent 15904349cf
commit 448bc5cae2
73 changed files with 87 additions and 132 deletions

View File

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

View File

@ -4,5 +4,5 @@
(package! haskell-mode :pin "727f72a2a4b8e4fd0a7b62129668baea55a2c3e0")
(when (and (modulep! +lsp)
(not (modulep! :tools lsp +eglot)))
(modulep! :tools lsp -eglot))
(package! lsp-haskell :pin "ba49fa9822556aff58aa47929cd426e9427baaea"))