tweak(syntax): feat gate flycheck in all modules

This commit is contained in:
Jeetaditya Chatterjee 2022-08-17 01:16:08 +01:00
parent b957142e3e
commit 4696f0d4ce
No known key found for this signature in database
GPG key ID: 4A1E5568BA34D124
40 changed files with 86 additions and 45 deletions

View file

@ -56,7 +56,8 @@ lua-language-server.")
(add-hook! 'moonscript-mode-hook
#'+lua-moonscript-fix-single-quotes-h
#'+lua-moonscript-fontify-interpolation-h)
(when (modulep! :checkers syntax)
(when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
(require 'flycheck-moonscript nil t)))

View file

@ -5,7 +5,8 @@
(when (modulep! +moonscript)
(package! moonscript :pin "56f90471e2ced2b0a177aed4d8c2f854797e9cc7")
(when (modulep! :checkers syntax)
(when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
(package! flycheck-moonscript
:recipe (:host github :repo "hlissner/emacs-flycheck-moonscript")
:pin "fcb99e5efcf31db05f236f02eaa575986a57172d")))