feat(lsp): announce codeLens resolveSupport (#29956)

The codelens implementation can resolve command via `codeLens/resolve`.

The spec added client capabilities for that:

https://github.com/microsoft/language-server-protocol/pull/1979
This commit is contained in:
Mathias Fußenegger 2024-08-03 11:14:12 +02:00 committed by GitHub
parent 4f3801c925
commit 6072153796
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -427,6 +427,12 @@ function protocol.make_client_capabilities()
properties = { 'edit' },
},
},
codeLens = {
dynamicRegistration = false,
resolveSupport = {
properties = { 'command' },
},
},
formatting = {
dynamicRegistration = true,
},