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.
This commit is contained in:
Riley Bruins
2025-06-12 09:25:19 -07:00
committed by GitHub
parent a9b8a8dc6c
commit f99e3a8a2a
5 changed files with 141 additions and 1 deletions

View File

@@ -539,6 +539,9 @@ function protocol.make_client_capabilities()
colorProvider = {
dynamicRegistration = true,
},
selectionRange = {
dynamicRegistration = false,
},
},
workspace = {
symbol = {