From 1241c7f3eef8b7aef0ca8b3d2b6cc41dea4aa1a5 Mon Sep 17 00:00:00 2001 From: illiadanko Date: Fri, 21 Jun 2024 23:06:17 +0300 Subject: [PATCH] Fix "xref-backend-references: Wrong type argument: listp" error --- eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eglot.el b/eglot.el index f267d089..c207ed83 100644 --- a/eglot.el +++ b/eglot.el @@ -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 ()