feat(default): use consult-flycheck when applicable
This commit is contained in:
parent
12bf6baa21
commit
0e6682612f
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue