branch: externals/eglot commit 734a1ee224d591073ffb12b460df1c4a76510f30 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
Fix #936: ensure non-null :settings param in didChangeConfiguration notif * eglot.el (eglot-signal-didChangeConfiguration): Use eglot--{} --- eglot.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eglot.el b/eglot.el index 348ae4b42c..fd82b76c5b 100644 --- a/eglot.el +++ b/eglot.el @@ -2198,11 +2198,12 @@ When called interactively, use the currently active server" server :workspace/didChangeConfiguration (list :settings - (cl-loop for (section . v) in eglot-workspace-configuration - collect (if (keywordp section) - section - (intern (format ":%s" section))) - collect v)))) + (or (cl-loop for (section . v) in eglot-workspace-configuration + collect (if (keywordp section) + section + (intern (format ":%s" section))) + collect v) + eglot--{})))) (cl-defmethod eglot-handle-request (server (_method (eql workspace/configuration)) &key items)