tag: 1.2
commit ee372b49ae2143dd0748db0b3fe0594b43d81ed3
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>

    * eglot.el (advice-add jsonrpc-request): Add &allow-other-keys
---
 eglot.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 3b1b364..7f0e91d 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1048,7 +1048,8 @@ Records START, END and PRE-CHANGE-LENGTH locally."
 ;; bad idea, since that might lead to the request never having a
 ;; chance to run, because `jsonrpc-connection-ready-p'.
 (advice-add #'jsonrpc-request :before
-            (cl-function (lambda (_proc _method _params &key deferred _timeout)
+            (cl-function (lambda (_proc _method _params &key
+                                        deferred &allow-other-keys)
                            (when (and eglot--managed-mode deferred)
                              (eglot--signal-textDocument/didChange))))
             '((name . eglot--signal-textDocument/didChange)))

Reply via email to