[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bdf852d4bc8: Eglot: fix execution of CodeAction commands
From: |
João Távora |
Subject: |
master bdf852d4bc8: Eglot: fix execution of CodeAction commands |
Date: |
Thu, 25 May 2023 09:30:44 -0400 (EDT) |
branch: master
commit bdf852d4bc8931346ba87a71a2d5c08617b26a59
Author: João Távora <capitaomorte@archlinux2022.linuxvmimages.local>
Commit: João Távora <capitaomorte@archlinux2022.linuxvmimages.local>
Eglot: fix execution of CodeAction commands
Reported in
https://github.com/joaotavora/eglot/discussions/1225.
* lisp/progmodes/eglot.el (eglot-execute): Fix typo.
---
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 cd5831efc48..0140db0c4b3 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -741,7 +741,7 @@ ACTION is an LSP object of either `CodeAction' or `Command'
type."
(((Command)) (eglot--request server :workspace/executeCommand action))
(((CodeAction) edit command)
(when edit (eglot--apply-workspace-edit edit))
- (when command (eglot--request server :workspace/executeCommand
action))))))
+ (when command (eglot--request server :workspace/executeCommand
command))))))
(cl-defgeneric eglot-initialization-options (server)
"JSON object to send under `initializationOptions'."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master bdf852d4bc8: Eglot: fix execution of CodeAction commands,
João Távora <=