mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-30 17:01:02 -05:00
tweak(syntax): feat gate flycheck in all modules
This commit is contained in:
@@ -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 ()
|
||||
|
@@ -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")
|
||||
|
Reference in New Issue
Block a user