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

@ -27,7 +27,6 @@
:desc "Compile JS (optimized)" "J" #'+elm/compile-js-optimized)))
(use-package! flycheck-elm
:when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
:when (modulep! :checkers syntax -flymake)
:after elm-mode
:config (add-to-list 'flycheck-checkers 'elm))

View File

@ -2,6 +2,5 @@
;;; lang/elm/packages.el
(package! elm-mode :pin "699841865e1bd5b7f2077baa7121510b6bcad3c7")
(when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
(when (modulep! :checkers syntax -flymake)
(package! flycheck-elm :pin "1b60050efd4729bfba548f3e5adbcb58436667cb"))