aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2025-06-23 06:30:49 -0700
committerGitHub <noreply@github.com>2025-06-23 06:30:49 -0700
commit835f11595fb057197fc867a137f0d5bb56e9dfcd (patch)
treeb29c7cbc806c09b8af8084bee2937e6719318cc1 /runtime/lua/vim/lsp/protocol.lua
parenta5c55d200b18a08341114d34bb2badfac97a54ad (diff)
downloadrneovim-835f11595fb057197fc867a137f0d5bb56e9dfcd.tar.gz
rneovim-835f11595fb057197fc867a137f0d5bb56e9dfcd.tar.bz2
rneovim-835f11595fb057197fc867a137f0d5bb56e9dfcd.zip
feat(lsp): support annotated text edits (#34508)
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r--runtime/lua/vim/lsp/protocol.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index d73c8c08bd..3c031977e1 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -431,6 +431,7 @@ function protocol.make_client_capabilities()
properties = { 'edit', 'command' },
},
disabledSupport = true,
+ honorsChangeAnnotations = true,
},
codeLens = {
dynamicRegistration = false,
@@ -529,6 +530,7 @@ function protocol.make_client_capabilities()
rename = {
dynamicRegistration = true,
prepareSupport = true,
+ honorsChangeAnnotations = true,
},
publishDiagnostics = {
tagSupport = {
@@ -562,6 +564,7 @@ function protocol.make_client_capabilities()
workspaceEdit = {
resourceOperations = { 'rename', 'create', 'delete' },
normalizesLineEndings = true,
+ changeAnnotationSupport = { groupsOnLabel = true },
},
semanticTokens = {
refreshSupport = true,