feat(lsp): support annotated text edits (#34508)

This commit is contained in:
Maria José Solano
2025-06-23 06:30:49 -07:00
committed by GitHub
parent a5c55d200b
commit 835f11595f
5 changed files with 202 additions and 94 deletions

View File

@@ -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,