branch: externals/eglot
commit eeb34c65b5517968069a2e8453dab3fb4b831569
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))