emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 2728e12 22/62: Per #59: eglot-workspace-configura


From: Stefan Monnier
Subject: [elpa] externals/eglot 2728e12 22/62: Per #59: eglot-workspace-configuration's keys needn't be keywords
Date: Sat, 29 Sep 2018 17:13:31 -0400 (EDT)

branch: externals/eglot
commit 2728e128ca408465cb0447712304c506323497e9
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Per #59: eglot-workspace-configuration's keys needn't be keywords
    
    * eglot.el (eglot-signal-didChangeConfiguration): Convert
    alist keys into a json-compatible plist.
---
 eglot.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 7e825d6..c3a0d51 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1062,7 +1062,10 @@ When called interactively, use the currently active 
server"
    (list
     :settings
     (cl-loop for (k . v) in eglot-workspace-configuration
-             collect k collect v))))
+             collect (if (keywordp k)
+                         k
+                       (intern (format ":%s" k)))
+             collect v))))
 
 (defun eglot--signal-textDocument/didChange ()
   "Send textDocument/didChange to server."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]