From 0e6682612ffdb814ee8bf5e773734db50cc5a527 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Fri, 12 Aug 2022 12:34:21 +0300 Subject: [PATCH] feat(default): use consult-flycheck when applicable --- modules/config/default/autoload/default.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/config/default/autoload/default.el b/modules/config/default/autoload/default.el index 3d42a2292..7ea522f41 100644 --- a/modules/config/default/autoload/default.el +++ b/modules/config/default/autoload/default.el @@ -60,7 +60,9 @@ current project. Otherwise list them for the current buffer" (consult-lsp-diagnostics arg)) ((and (featurep! :checkers syntax) (bound-and-true-p flycheck-mode)) - (flycheck-list-errors)) + (if (featurep! :completion vertico) + (consult-flycheck) + (flycheck-list-errors))) ((bound-and-true-p flymake-mode) (if (featurep! :completion vertico) (consult-flymake)