[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 1.3 245493c 23/26: Handle array params to server notification or
From: |
Christian Johansson |
Subject: |
[elpa] 1.3 245493c 23/26: Handle array params to server notification or requests |
Date: |
Thu, 29 Apr 2021 15:09:17 -0400 (EDT) |
tag: 1.3
commit 245493cbd1d07539469847f6a11168533551ba15
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Handle array params to server notification or requests
* eglot.el (eglot-handle-notification): Remove extraneous id
(eglot--connect): If params is an array, make it a list.
---
eglot.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/eglot.el b/eglot.el
index 4552930..05971e1 100644
--- a/eglot.el
+++ b/eglot.el
@@ -429,7 +429,7 @@ treated as in `eglot-dbind'."
(cl-defgeneric eglot-handle-request (server method &rest params)
"Handle SERVER's METHOD request with PARAMS.")
-(cl-defgeneric eglot-handle-notification (server method id &rest params)
+(cl-defgeneric eglot-handle-notification (server method &rest params)
"Handle SERVER's METHOD notification with PARAMS.")
(cl-defgeneric eglot-execute-command (server command arguments)
@@ -783,10 +783,8 @@ This docstring appeases checkdoc, that's all."
:noquery t
:stderr (get-buffer-create
(format "*%s stderr*"
readable-name))))))))
- (spread
- (lambda (fn)
- (lambda (&rest args)
- (apply fn (append (butlast args) (car (last args)))))))
+ (spread (lambda (fn) (lambda (server method params)
+ (apply fn server method (append params nil)))))
(server
(apply
#'make-instance class
- [elpa] 1.3 updated (23accee -> c3d2000), Christian Johansson, 2021/04/29
- [elpa] 1.3 bad07bd 01/26: Per #144, #156: control strictness towards incoming LSP messages, Christian Johansson, 2021/04/29
- [elpa] 1.3 591210f 13/26: Close #173: support completionContext to help servers like ccls, Christian Johansson, 2021/04/29
- [elpa] 1.3 8829655 10/26: Per #171,#156: Introduce eglot--dcase, Christian Johansson, 2021/04/29
- [elpa] 1.3 245493c 23/26: Handle array params to server notification or requests,
Christian Johansson <=
- [elpa] 1.3 1a45d87 03/26: Revert "Fix #164: CodeAction command can be a Command object (#165)", Christian Johansson, 2021/04/29
- [elpa] 1.3 a653dcb 04/26: Fix #52: Use entire line as xref summary when available, Christian Johansson, 2021/04/29
- [elpa] 1.3 dadc5a2 15/26: Fix #159: Properly clear old diagnostics when making new ones, Christian Johansson, 2021/04/29
- [elpa] 1.3 e22d4d3 09/26: Simplify interface of eglot--dbind macro, Christian Johansson, 2021/04/29
- [elpa] 1.3 8c71a1a 18/26: Per #173: fix bug introduced by previous fix, Christian Johansson, 2021/04/29
- [elpa] 1.3 84a271c 08/26: Robustify tests against (M)ELPA eglot installations, Christian Johansson, 2021/04/29
- [elpa] 1.3 0f74616 07/26: Touch up last commit, Christian Johansson, 2021/04/29
- [elpa] 1.3 dc84ff6 06/26: * eglot.el (eglot--current-column): New helper., Christian Johansson, 2021/04/29
- [elpa] 1.3 5595a75 12/26: Fix #116, #150: don't break in indirect buffers, Christian Johansson, 2021/04/29
- [elpa] 1.3 72e06ea 14/26: Use javascript-typescript-langserver for typescript-mode (#174), Christian Johansson, 2021/04/29