mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
feat(lsp): support annotated text edits (#34508)
This commit is contained in:

committed by
GitHub

parent
a5c55d200b
commit
835f11595f
@@ -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,
|
||||
|
Reference in New Issue
Block a user