neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 6072153796d1b1e54067ac9823583be96b24ede1
parent 4f3801c9257e364d777d4324489afefa6b5d3fff
Author: Mathias Fußenegger <mfussenegger@users.noreply.github.com>
Date:   Sat,  3 Aug 2024 11:14:12 +0200

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
Diffstat:
Mruntime/lua/vim/lsp/protocol.lua | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua @@ -427,6 +427,12 @@ function protocol.make_client_capabilities() properties = { 'edit' }, }, }, + codeLens = { + dynamicRegistration = false, + resolveSupport = { + properties = { 'command' }, + }, + }, formatting = { dynamicRegistration = true, },