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

@ -64,7 +64,9 @@
"t" #'merlin-type-enclosing)
(use-package! flycheck-ocaml
:when (modulep! :checkers syntax)
:when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
:hook (merlin-mode . +ocaml-init-flycheck-h)
:config
(defun +ocaml-init-flycheck-h ()

View file

@ -7,7 +7,8 @@
(package! merlin :pin "306af713e268d810ea0dc80bdf8e98265f96bd51")
(package! merlin-eldoc :pin "bf8edc63d85b35e4def352fa7ce4ea39f43e1fd8")
(package! merlin-company :pin "306af713e268d810ea0dc80bdf8e98265f96bd51")
(when (modulep! :checkers syntax)
(when (and (modulep! :checkers syntax)
(not (modulep! :checkers syntax +flymake)))
(package! flycheck-ocaml :pin "77f8ddbd9bfc3a11957ac7ec7e45d5fa9179b192")))
(package! ocp-indent :pin "7c4d434132cebc15a8213c8be9e7323692eb0a2b")