mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
parent
15904349cf
commit
448bc5cae2
73 changed files with 87 additions and 132 deletions
|
|
@ -195,8 +195,7 @@ See `+emacs-lisp-non-package-mode' for details.")
|
|||
|
||||
|
||||
(use-package! flycheck-cask
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:when (modulep! :checkers syntax -flymake)
|
||||
:defer t
|
||||
:init
|
||||
(add-hook! 'emacs-lisp-mode-hook
|
||||
|
|
@ -204,8 +203,7 @@ See `+emacs-lisp-non-package-mode' for details.")
|
|||
|
||||
|
||||
(use-package! flycheck-package
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:when (modulep! :checkers syntax -flymake)
|
||||
:after flycheck
|
||||
:config (flycheck-package-setup))
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@
|
|||
(package! overseer :pin "7fdcf1a6fba6b1569a09c1666b4e51bcde266ed9")
|
||||
(package! elisp-def :pin "1ad4baccbf3d0d13e7607d332ae6bc60a5dd7360")
|
||||
(package! elisp-demos :pin "1a108d1c5011f9ced58be2ca98bea1fbd4130a2f")
|
||||
(when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
(package! flycheck-package :pin "75efa098cf17dc14c363e2ca9b68afdac7766b5b")
|
||||
(package! flycheck-cask :pin "0eeec5197e9d31bfcfc39380b262d65259a87d91"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue