Function: eca-editor-get-diagnostics
eca-editor-get-diagnostics is a natively compiled function defined in
eca-editor.el.
Signature
(eca-editor-get-diagnostics SESSION PARAMS)
Documentation
Return all diagnostics for SESSION from PARAMS.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-editor.el
(defun eca-editor-get-diagnostics (session params)
"Return all diagnostics for SESSION from PARAMS."
(let* ((uri (plist-get params :uri))
(workspaces (eca--session-workspace-folders session)))
(eca-editor--ensure-diagnostics-fresh uri)
(list :diagnostics
(vconcat (eca-editor--collect-all-diagnostics
uri workspaces)))))