Skip to content

Commit

Permalink
Fix "xref-backend-references: Wrong type argument: listp" error
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-danko committed Jun 21, 2024
1 parent db91d58 commit 1241c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -2936,7 +2936,7 @@ If BUFFER, switch to it before."
:extra-params extra-params
:capability capability)))
(if eglot--lsp-xref-refs
(xref-find-references "LSP identifier at point.")
(xref-find-references eglot--lsp-xref-refs)
(eglot--message "%s returned no references" method))))

(defun eglot-find-declaration ()
Expand Down

0 comments on commit 1241c7f

Please sign in to comment.