aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorjdrouhard <john@drouhard.dev>2026-07-04 08:29:05 -0500
committerGitHub <noreply@github.com>2026-07-04 09:29:05 -0400
commit29db6ce84c446fd23fb8e5462b5781bceba5f7aa (patch)
tree3b2450d45c96cb16a1319e938a0a0c0d1164c8b2 /test/functional/vimscript/executable_spec.lua
parent6cbc5ea13d2d9098bd0893aa5ad34bcd7305b931 (diff)
downloadrneovim-29db6ce84c446fd23fb8e5462b5781bceba5f7aa.tar.gz
rneovim-29db6ce84c446fd23fb8e5462b5781bceba5f7aa.tar.bz2
rneovim-29db6ce84c446fd23fb8e5462b5781bceba5f7aa.zip
fix(lsp): use LspNotify for document_color #40571
Problem: The document_color lsp module was already using the capability framework but was still using raw buffer events to handle requests and reloading. This means that every keystroke was sending a document_color request to the server since there was no debounce in the raw handlers. Solution: Switch to using LspNotify autocmd events. LspNotify fires just after new document versions are synced with the server and provides a built in debounce mechanism for changes. It also provides the signal for when the current state should be cleared (didClose). The detach part is already handled by the capability framework. Fixes #39785
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions