mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user