mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-26 16:41:04 -05:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
;; NOTE: We disable eglot-auto-display-help-buffer because :select t in
|
||||
;; its popup rule causes eglot to steal focus too often.
|
||||
eglot-auto-display-help-buffer nil)
|
||||
(when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
(setq eglot-stay-out-of '(flymake)))
|
||||
|
||||
:config
|
||||
@@ -62,6 +61,5 @@ server an expensive restart when its buffer is reverted."
|
||||
|
||||
|
||||
(use-package! flycheck-eglot
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:when (modulep! :checkers syntax -flymake)
|
||||
:hook (eglot-managed-mode . flycheck-eglot-mode))
|
||||
|
Reference in New Issue
Block a user