feat(lsp): add support for completionItem.command resolving

`command` was already resolved via a `completionItem/resolve` request
but only if `additionalTextEdits` were also present, and the
`resolveSupport` capability wasn't listed.

Closes https://github.com/neovim/neovim/issues/32406
This commit is contained in:
Mathias Fussenegger
2025-02-14 14:06:47 +01:00
committed by Mathias Fußenegger
parent c091bc3b9a
commit f20335a54c
3 changed files with 69 additions and 9 deletions

View File

@@ -458,6 +458,7 @@ function protocol.make_client_capabilities()
resolveSupport = {
properties = {
'additionalTextEdits',
'command',
},
},
tagSupport = {