[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bc1e7b9b8e6: Eglot: fix advertisement of textDocument.codeAction.
|
From: |
João Távora |
|
Subject: |
master bc1e7b9b8e6: Eglot: fix advertisement of textDocument.codeAction.resolveSupport |
|
Date: |
Wed, 12 Jul 2023 05:14:48 -0400 (EDT) |
branch: master
commit bc1e7b9b8e681346e407c4dc32272a0bf4decd68
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Eglot: fix advertisement of textDocument.codeAction.resolveSupport
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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 0c46e4a5290..8ac21638a5b 100644
--- 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
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- master bc1e7b9b8e6: Eglot: fix advertisement of textDocument.codeAction.resolveSupport,
João Távora <=