mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
@@ -70,9 +70,7 @@
|
||||
"t" #'merlin-type-enclosing)
|
||||
|
||||
(use-package! flycheck-ocaml
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
|
||||
:when (modulep! :checkers syntax -flymake)
|
||||
:hook (merlin-mode . +ocaml-init-flycheck-h)
|
||||
:config
|
||||
(defun +ocaml-init-flycheck-h ()
|
||||
|
@@ -12,8 +12,7 @@
|
||||
(package! merlin :pin "e016abfac6da88ff7a6b49a42ca37854a4378ace")
|
||||
(package! merlin-eldoc :pin "bf8edc63d85b35e4def352fa7ce4ea39f43e1fd8")
|
||||
(package! merlin-company :pin "e016abfac6da88ff7a6b49a42ca37854a4378ace")
|
||||
(when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
(package! flycheck-ocaml :pin "77f8ddbd9bfc3a11957ac7ec7e45d5fa9179b192")))
|
||||
|
||||
(when (modulep! :tools eval)
|
||||
|
Reference in New Issue
Block a user