Function: consult-eglot-embark-goto-symbol

consult-eglot-embark-goto-symbol is a natively compiled function defined in consult-eglot-embark.el.

Signature

(consult-eglot-embark-goto-symbol CANDIDATE)

Documentation

Jump to a consult-eglot CANDIDATE through embark-act.

Source Code

;; Defined in /nix/store/lqv3gbiaac7mfhwjvrkr7l56gm15is3y-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-eglot-embark-20250831.925/consult-eglot-embark.el
;;;###autoload
(defun consult-eglot-embark-goto-symbol (candidate)
  "Jump to a `consult-eglot' CANDIDATE through `embark-act'."
  (when-let* ((symbol-info (get-text-property 0 'consult--candidate candidate)))
    (cl-destructuring-bind (file line column)
        (consult-eglot--symbol-information-to-grep-params symbol-info)
      (consult--jump
       (consult--marker-from-line-column
        (find-file-noselect file) line column))
      (pulse-momentary-highlight-one-line (point)))))