tweak(syntax): feat gate flycheck in all modules
This commit is contained in:
parent
b957142e3e
commit
4696f0d4ce
40 changed files with 86 additions and 45 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue