projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04710bd
)
Eglot: fix advertisement of textDocument.codeAction.resolveSupport
author
João Távora
<joaotavora@gmail.com>
Wed, 12 Jul 2023 09:11:34 +0000
(10:11 +0100)
committer
João Távora
<joaotavora@gmail.com>
Wed, 12 Jul 2023 09:16:26 +0000
(10:16 +0100)
See https://github.com/joaotavora/eglot/issues/1255.
* lisp/progmodes/eglot.el (eglot-client-capabilities):
Use correct format for textDocument.codeAction.resolveSupport.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 0c46e4a529018b8c831fe43de43479d5bf3fcc0f..8ac21638a5b24d731cf69d52f994966b51615e13 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-828,7
+828,8
@@
ACTION is an LSP object of either `CodeAction' or `Command' type."
:documentHighlight `(:dynamicRegistration :json-false)
:codeAction (list
:dynamicRegistration :json-false
- :resolveSupport t :dataSupport t
+ :resolveSupport `(:properties ["edit" "command"])
+ :dataSupport t
:codeActionLiteralSupport
'(:codeActionKind
(:valueSet