From fd9792fcc7896f150a851814b348ff30f64bce19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Fri, 4 May 2018 11:54:06 +0100 Subject: [PATCH] Workaround rls's regusal to treat nil as empty json object * eglot.el (eglot--connect): Use dummy params. --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'.") -- 2.39.2