aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2022-01-11 18:10:29 +0100
committerGitHub <noreply@github.com>2022-01-11 18:10:29 +0100
commit074b033e7e10baf3f4401a1652c1de197f5b5c4e (patch)
treed652e8ab4f7f81c24a1bcff864d7bd8943ad266f /test/functional/lua/vim_spec.lua
parent43b95b5430e85a81d4b7e78e98ae683ad04a89f8 (diff)
downloadrneovim-074b033e7e10baf3f4401a1652c1de197f5b5c4e.tar.gz
rneovim-074b033e7e10baf3f4401a1652c1de197f5b5c4e.tar.bz2
rneovim-074b033e7e10baf3f4401a1652c1de197f5b5c4e.zip
refactor(lsp): debounce timer per buf and unify with non-debounce (#17016)
Part of the `pending_change` closure in the `changetracking.prepare` was a bit confusing because it has access to `bufnr` and `uri` but it could actually contain pending changes batched for multiple buffers. (We accounted for that by grouping `pending_changes` by a `uri`, but it's not obvious what's going on) This commit changes the approach to do everything per buffer to avoid any ambiguity. It also brings the debounce/no-debounce a bit closer together: The only difference is now whether a timer is used or if it is triggered immediately
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions