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

@ -27,6 +27,7 @@
:desc "Compile JS (optimized)" "J" #'+elm/compile-js-optimized)))
(use-package! flycheck-elm
:when (modulep! :checkers syntax)
:when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
:after elm-mode
:config (add-to-list 'flycheck-checkers 'elm))

View file

@ -2,5 +2,6 @@
;;; lang/elm/packages.el
(package! elm-mode :pin "5797500d74dd8544a89938c09d3cd5cdf7b5d7bc")
(when (modulep! :checkers syntax)
(when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
(package! flycheck-elm :pin "1b60050efd4729bfba548f3e5adbcb58436667cb"))