* eglot.el (eglot-code-actions): Handle case when the :command field
is not a string.
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/164
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/165
(when edit
(eglot--apply-workspace-edit edit))
(when command
- (eglot-execute-command server (intern command) arguments)))))
+ (cond ((stringp command)
+ (eglot-execute-command server (intern command) arguments))
+ ((listp command)
+ (eglot-execute-command server
+ (intern (plist-get command :command))
+ (plist-get command :arguments))))))))
\f