From f99e3a8a2a3fdf71bef195d6f3ba9dda56ffc692 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Thu, 12 Jun 2025 09:25:19 -0700 Subject: feat(lsp): incremental selection via "textDocument/selectionRange" #34011 Select outwards with "an" and inwards with "in" in Visual mode. Ranges are reset when leaving Visual mode. --- 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 5d479d96d4..8a4099a9d3 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -539,6 +539,9 @@ function protocol.make_client_capabilities() colorProvider = { dynamicRegistration = true, }, + selectionRange = { + dynamicRegistration = false, + }, }, workspace = { symbol = { -- cgit