[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 11eb256 02/26: Fix #164: CodeAction command can b
From: |
João Távora |
Subject: |
[elpa] externals/eglot 11eb256 02/26: Fix #164: CodeAction command can be a Command object (#165) |
Date: |
Sun, 9 Dec 2018 19:11:25 -0500 (EST) |
branch: externals/eglot
commit 11eb25678b2f32a3496bd7efb95b90941c9ae5ea
Author: mkcms <address@hidden>
Commit: João Távora <address@hidden>
Fix #164: CodeAction command can be a Command object (#165)
* eglot.el (eglot-code-actions): Handle case when the :command field
is not a string.
---
eglot.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/eglot.el b/eglot.el
index 4996f5b..bc89cd2 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2011,7 +2011,12 @@ If SKIP-SIGNATURE, don't try to send
textDocument/signatureHelp."
(when edit
(eglot--apply-workspace-edit edit))
(when command
- (eglot-execute-command server (intern command) arguments)))))
+ (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))))))))
- [elpa] externals/eglot updated (f291816 -> 23accee), João Távora, 2018/12/09
- [elpa] externals/eglot 11eb256 02/26: Fix #164: CodeAction command can be a Command object (#165),
João Távora <=
- [elpa] externals/eglot 10b238b 03/26: Revert "Fix #164: CodeAction command can be a Command object (#165)", João Távora, 2018/12/09
- [elpa] externals/eglot cddab30 06/26: * eglot.el (eglot--current-column): New helper., João Távora, 2018/12/09
- [elpa] externals/eglot 53bfdb7 19/26: Per #173: adjust previous fix, João Távora, 2018/12/09
- [elpa] externals/eglot 9fb5f0c 05/26: Per #52, #127: Improve performance of xref summary line collection, João Távora, 2018/12/09
- [elpa] externals/eglot 5bbf884 11/26: Use eglot--dbind for destructuring, João Távora, 2018/12/09
- [elpa] externals/eglot 81d035f 04/26: Fix #52: Use entire line as xref summary when available, João Távora, 2018/12/09
- [elpa] externals/eglot 96169d8 18/26: Per #173: fix bug introduced by previous fix, João Távora, 2018/12/09
- [elpa] externals/eglot 4874c22 14/26: Use javascript-typescript-langserver for typescript-mode (#174), João Távora, 2018/12/09
- [elpa] externals/eglot 66a1704 22/26: Scratch/use elpa flymake (#178), João Távora, 2018/12/09
- [elpa] externals/eglot f63bedb 20/26: Fix #144: Use eglot--dbind and eglot--lambda throughout, João Távora, 2018/12/09