tag: 1.3
commit 1a45d87a91eb6d42250d81b89a2790a3b4293438
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Revert "Fix #164: CodeAction command can be a Command object (#165)"
This reverts commit 11eb25678b2f32a3496bd7efb95b90941c9ae5ea.
The spec doesn't define Command as implemented in the commit.
---
eglot.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/eglot.el b/eglot.el
index bc89cd2..4996f5b 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2011,12 +2011,7 @@ If SKIP-SIGNATURE, don't try to send
textDocument/signatureHelp."
(when edit
(eglot--apply-workspace-edit edit))
(when command
- (cond ((stringp command)
- (eglot-execute-command server (intern command) arguments))
- ((listp command)
- (eglot-execute-command server
- (intern (plist-get command :command))
- (plist-get command :arguments))))))))
+ (eglot-execute-command server (intern command) arguments)))))