diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2025-06-12 09:25:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-12 09:25:19 -0700 |
| commit | f99e3a8a2a3fdf71bef195d6f3ba9dda56ffc692 (patch) | |
| tree | eb2f59f641444d44e51d8c326c8e8a0b79aa240a /runtime/lua/vim/lsp/protocol.lua | |
| parent | a9b8a8dc6c1feaf5103699755086a393615602f2 (diff) | |
| download | rneovim-f99e3a8a2a3fdf71bef195d6f3ba9dda56ffc692.tar.gz rneovim-f99e3a8a2a3fdf71bef195d6f3ba9dda56ffc692.tar.bz2 rneovim-f99e3a8a2a3fdf71bef195d6f3ba9dda56ffc692.zip | |
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.
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
| -rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 = { |