From 835f11595fb057197fc867a137f0d5bb56e9dfcd Mon Sep 17 00:00:00 2001 From: Maria José Solano Date: Mon, 23 Jun 2025 06:30:49 -0700 Subject: feat(lsp): support annotated text edits (#34508) --- runtime/lua/vim/lsp/protocol.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/lua/vim/lsp/protocol.lua') 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, -- cgit