From 93eb72de229a2774198364be7acb7131a71222cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Fri, 29 Jan 2021 16:27:55 +0000 Subject: [PATCH] #fix 608: fix bug in eglot-code-actions Suggested by GitHub user "vconcat". * eglot.el (eglot-code-actions): Use a vector for transmitting action-kind. GitHub-reference: fix https://github.com/joaotavora/eglot/issues/606 --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index b5f6e6f73a1..98e0bcf14fa 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2554,7 +2554,7 @@ at point. With prefix argument, prompt for ACTION-KIND." when (cdr (assoc 'eglot-lsp-diag (eglot--diag-data diag))) collect it)] - ,@(when action-kind `(:only ,action-kind)))))) + ,@(when action-kind `(:only [,action-kind])))))) (menu-items (or (cl-loop for action across actions ;; Do filtering ourselves, in case the `:only' -- 2.39.5