From: João Távora Date: Fri, 4 May 2018 10:54:06 +0000 (+0100) Subject: Workaround rls's regusal to treat nil as empty json object X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~646 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd9792fcc7896f150a851814b348ff30f64bce19;p=emacs.git Workaround rls's regusal to treat nil as empty json object * eglot.el (eglot--connect): Use dummy params. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 0300ad3da09..8f371d2011b 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -229,7 +229,7 @@ SUCCESS-FN with no args if all goes well." (setf (eglot--capabilities proc) capabilities) (setf (eglot--status proc) nil) (when success-fn (funcall success-fn proc)) - (eglot--notify proc :initialized nil)))))))) + (eglot--notify proc :initialized (eglot--obj :__dummy__ t))))))))) (defvar eglot--command-history nil "History of COMMAND arguments to `eglot'.")