branch: externals/eglot
commit d5b840bdd62dd8682b7b20585010d7056b1b8490
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>

    Fix #606, #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.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index b5f6e6f..98e0bcf 100644
--- a/eglot.el
+++ b/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'

Reply via email to