Skip to content

Commit

Permalink
Per joaotavora#59: eglot-workspace-configuration's keys needn't be ke…
Browse files Browse the repository at this point in the history
…ywords

* eglot.el (eglot-signal-didChangeConfiguration): Convert
alist keys into a json-compatible plist.
  • Loading branch information
joaotavora committed Aug 6, 2018
1 parent eeb34c6 commit 2728e12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 2728e12

Please sign in to comment.