]> git.eshelyaron.com Git - emacs.git/commit
Add support for code action literals
authorMichal Krzywkowski <k.michal@zoho.com>
Wed, 31 Oct 2018 21:14:16 +0000 (22:14 +0100)
committerMichal Krzywkowski <k.michal@zoho.com>
Sun, 4 Nov 2018 10:57:24 +0000 (11:57 +0100)
commit025c926301f5f8f1c5a39fbf22dec1053c90c972
tree0fa1a7eb25a2d196b543b885aa18be6661c6a9eb
parent7f062198c8677028c6ade0b68e07e5f26a3b4867
Add support for code action literals

Code action literals allow the server to simply return a WorkspaceEdit
for a code action, so the client does not have to execute a command.

* eglot.el (eglot-client-capabilities): Add :codeActionLiteralSupport.
(eglot--code-action-kinds): New variable.
(eglot-code-actions): Apply provided WorkspaceEdit.
lisp/progmodes/eglot.el