Function: consult-flymake

consult-flymake is an autoloaded, interactive and byte-compiled function defined in consult-flymake.el.

Signature

(consult-flymake &optional PROJECT)

Documentation

Jump to Flymake diagnostic.

When PROJECT is non-nil then prompt with diagnostics from all buffers in the current project instead of just the current buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20261004.957/consult-flymake.el
;;;###autoload
(defun consult-flymake (&optional project)
  "Jump to Flymake diagnostic.
When PROJECT is non-nil then prompt with diagnostics from all
buffers in the current project instead of just the current buffer."
  (interactive "P")
  (consult--forbid-minibuffer)
  (consult--read
   (consult-flymake--candidates
     (if-let* ((project (and project (project-current))))
         (flymake--project-diagnostics project)
       (flymake-diagnostics)))
   :prompt "Flymake diagnostic: "
   :category 'consult-flymake-error
   :history t ;; disable history
   :require-match t
   :sort nil
   :group (consult--type-group consult-flymake--narrow)
   :narrow (consult--type-narrow consult-flymake--narrow)
   :lookup #'consult--lookup-candidate
   :state (consult--jump-state)))