diff options
| author | jdrouhard <john@drouhard.dev> | 2026-01-27 07:56:52 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-27 08:56:52 -0500 |
| commit | 8ed68fda50140e4a90c44075838f406b3d118196 (patch) | |
| tree | f8792092a9c70f5366efddcbd0e41a41c7de6943 /test/functional/vimscript/executable_spec.lua | |
| parent | 8c63d84be157a0a944ff9a3eb7d62c2ea2d50f94 (diff) | |
| download | rneovim-8ed68fda50140e4a90c44075838f406b3d118196.tar.gz rneovim-8ed68fda50140e4a90c44075838f406b3d118196.tar.bz2 rneovim-8ed68fda50140e4a90c44075838f406b3d118196.zip | |
feat(lsp): semantic token range improvements #37451
* cache all tokens from various range requests for a given document
version
- all new token highlights are merged with previous highlights to
maintain order and the "marked" property
- this allows the tokens to stop flickering once they've loaded once
per document version
* abandon the processing coroutine if the request_id has changed instead
of relying only on the document version
- this will improve efficiency if a new range request is made while a
previous one was processing its result
* apply new highlights from processing coroutine directly to the current
result when the version hasn't changed
- this allows new highlights to be immediately drawable once they've
processed instead of waiting for the whole response to be processed
at once
* rpc layer was changed to provide the request ID back in success
callbacks, which is then provided as a request_id field on the handler
context to lsp handlers
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions