* eglot.el (eglot-handle-notification): Allow other keys for
textDocument/publishDiagnostics.
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/357
"Handle notification telemetry/event") ;; noop, use events buffer
(cl-defmethod eglot-handle-notification
- (server (_method (eql textDocument/publishDiagnostics)) &key uri diagnostics)
+ (server (_method (eql textDocument/publishDiagnostics)) &key uri diagnostics
+ &allow-other-keys) ; FIXME: doesn't respect `eglot-strict-mode'
"Handle notification publishDiagnostics"
(if-let ((buffer (find-buffer-visiting (eglot--uri-to-path uri))))
(with-current-buffer buffer