mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feat(default): use consult-flycheck when applicable
This commit is contained in:
committed by
Henrik Lissner
parent
12bf6baa21
commit
0e6682612f
@ -60,7 +60,9 @@ current project. Otherwise list them for the current buffer"
|
|||||||
(consult-lsp-diagnostics arg))
|
(consult-lsp-diagnostics arg))
|
||||||
((and (featurep! :checkers syntax)
|
((and (featurep! :checkers syntax)
|
||||||
(bound-and-true-p flycheck-mode))
|
(bound-and-true-p flycheck-mode))
|
||||||
(flycheck-list-errors))
|
(if (featurep! :completion vertico)
|
||||||
|
(consult-flycheck)
|
||||||
|
(flycheck-list-errors)))
|
||||||
((bound-and-true-p flymake-mode)
|
((bound-and-true-p flymake-mode)
|
||||||
(if (featurep! :completion vertico)
|
(if (featurep! :completion vertico)
|
||||||
(consult-flymake)
|
(consult-flymake)
|
||||||
|
Reference in New Issue
Block a user