aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorjdrouhard <john@drouhard.dev>2026-06-14 10:10:59 -0500
committerGitHub <noreply@github.com>2026-06-14 11:10:59 -0400
commit3d6393540e45f993b2e443387ade6a0db52a2ae5 (patch)
tree90892322e8ad0d3327f4ba2f8655b6689ed65c0e /test/functional/vimscript/executable_spec.lua
parentc37aacb4264232a817246a497e10830fc8837706 (diff)
downloadrneovim-3d6393540e45f993b2e443387ade6a0db52a2ae5.tar.gz
rneovim-3d6393540e45f993b2e443387ade6a0db52a2ae5.tar.bz2
rneovim-3d6393540e45f993b2e443387ade6a0db52a2ae5.zip
feat(lsp): use LspNotify for semantic tokens #40224
Problem: The semantic token module is using its own debounce timer for the buffer on_lines event. If its internal debounce is shorter than the changetracking module's debounce, it's possible for semantic token requests to fire for changed buffers before the textDocument/didChange notification is sent to the server. Solution: Trigger semantic token requests from the LspNotify autocmd when the method is the didChange or didOpen notifications, which enforces a strict happens-before relationship for the sync change notification followed by a semantic token request. Note: There is still an internal debounce mechanism in the semantic token module to handle other debouncing needs specific to its functionality, such as debouncing server refresh notifications and handling WinScrolled events when using range requests.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions