mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tweak(syntax): feat gate flycheck in all modules
This commit is contained in:
@ -190,7 +190,8 @@ See `+emacs-lisp-non-package-mode' for details.")
|
||||
|
||||
|
||||
(use-package! flycheck-cask
|
||||
:when (modulep! :checkers syntax)
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:defer t
|
||||
:init
|
||||
(add-hook! 'emacs-lisp-mode-hook
|
||||
@ -198,7 +199,8 @@ See `+emacs-lisp-non-package-mode' for details.")
|
||||
|
||||
|
||||
(use-package! flycheck-package
|
||||
:when (modulep! :checkers syntax)
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:after flycheck
|
||||
:config (flycheck-package-setup))
|
||||
|
||||
|
Reference in New Issue
Block a user