branch: externals/elpa
commit 7d0bf64235fb3a572396a1fb0db8c2f26141f4aa
Author: João Távora <joaotav...@gmail.com>
Commit: João Távora <joaotav...@gmail.com>

    Workaround RLS's regusal to treat nil as empty json object
    
    * eglot.el (eglot--connect): Use dummy params.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 0300ad3..8f371d2 100644
--- a/eglot.el
+++ b/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'.")

Reply via email to