commit 9139c4f90ff8dc7819474a3bd8d65ec7565c764d
parent 038eb01b41b66379f75164507571497929f8847c
Author: Maria José Solano <majosolano99@gmail.com>
Date: Thu, 7 Aug 2025 19:33:52 -0700
fix(lsp): update capability maps (#35227)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
@@ -1133,6 +1133,7 @@ protocol._request_name_to_client_capability = {
['inlayHint/resolve'] = { 'textDocument', 'inlayHint', 'resolveSupport' },
['textDocument/codeAction'] = { 'textDocument', 'codeAction' },
['textDocument/codeLens'] = { 'textDocument', 'codeLens' },
+ ['textDocument/colorPresentation'] = { 'textDocument', 'colorProvider' },
['textDocument/completion'] = { 'textDocument', 'completion' },
['textDocument/declaration'] = { 'textDocument', 'declaration' },
['textDocument/definition'] = { 'textDocument', 'definition' },
@@ -1211,6 +1212,7 @@ protocol._request_name_to_server_capability = {
['inlayHint/resolve'] = { 'inlayHintProvider', 'resolveProvider' },
['textDocument/codeAction'] = { 'codeActionProvider' },
['textDocument/codeLens'] = { 'codeLensProvider' },
+ ['textDocument/colorPresentation'] = { 'colorProvider' },
['textDocument/completion'] = { 'completionProvider' },
['textDocument/declaration'] = { 'declarationProvider' },
['textDocument/definition'] = { 'definitionProvider' },