branch: externals/eglot
commit 96169d8182f5ff79c349287c48a52a16de90f659
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Per #173: fix bug introduced by previous fix
* eglot.el (eglot--CompletionParams): Don't use last-input-event.
---
eglot.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eglot.el b/eglot.el
index 578a90d..3bb93dc 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1399,7 +1399,7 @@ THINGS are either registrations or unregisterations."
(eglot--TextDocumentPositionParams)
`(:context
,(if-let (trigger (and (characterp eglot--last-inserted-char)
- (cl-find last-input-event
+ (cl-find eglot--last-inserted-char
(eglot--server-capable :completionProvider
:triggerCharacters)
:key (lambda (str) (aref str 0))
@@ -2116,8 +2116,8 @@ If SKIP-SIGNATURE, don't try to send
textDocument/signatureHelp."
(keyboard-quit)
retval)))))
(eglot--dcase action
- (((Command) command arguments)
- (eglot-execute-command server (intern command) arguments))
+ (((Command) command arguments)
+ (eglot-execute-command server (intern command) arguments))
(((CodeAction) edit command)
(when edit (eglot--apply-workspace-edit edit))
(when command