branch: externals/elpa commit b1554fc921f8d91870373cf9d3a089afc3f0f63d Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
* eglot.el (eglot--process-receive): Skip null method notifs. --- eglot.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eglot.el b/eglot.el index ebc07d2..693535a 100644 --- a/eglot.el +++ b/eglot.el @@ -477,8 +477,11 @@ identifier. ERROR is non-nil if this is an error." (plist-get message :params) (let ((id (plist-get message :id))) (if id `(:id ,id))))) - (eglot--warn "No implemetation for notification %s yet" - method))))))) + ;; pyls keeps on sending nil notifs for each notif we + ;; send it, just ignore these. + (unless (null method) + (eglot--warn "No implemetation for notification %s yet" + method)))))))) (defvar eglot--expect-carriage-return nil)