tag: 1.2
commit 4d80eeb8a1679701a8f8ce1daa990254d08a50d1
Author: João Távora <[email protected]>
Commit: João Távora <[email protected]>
Default eglot-handle-notifictiona|request must &allow-other-keys
* eglot.el (eglot-handle-notification, eglot-handle-request): Add
&allow-other-keys
---
eglot.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eglot.el b/eglot.el
index 58efc16..7e825d6 100644
--- a/eglot.el
+++ b/eglot.el
@@ -872,12 +872,12 @@ Uses THING, FACE, DEFS and PREPEND."
;;; Protocol implementation (Requests, notifications, etc)
;;;
(cl-defmethod eglot-handle-notification
- (_server method &key)
+ (_server method &key &allow-other-keys)
"Handle unknown notification"
(eglot--warn "Server sent unknown notification method `%s'" method))
(cl-defmethod eglot-handle-request
- (_server method &key)
+ (_server method &key &allow-other-keys)
"Handle unknown request"
(jsonrpc-error "Unknown request method `%s'" method))