aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/lsp_spec.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2022-01-05 08:36:35 -0800
committerGitHub <noreply@github.com>2022-01-05 08:36:35 -0800
commit55a59e56eda98f17448a1c318a346ae12d30fc05 (patch)
treeb10b98f1355a9bb32af5ca6ec67272a462c06b7a /test/functional/plugin/lsp_spec.lua
parentf65b0d4236eef69b02390a51cf335b0836f35801 (diff)
downloadrneovim-55a59e56eda98f17448a1c318a346ae12d30fc05.tar.gz
rneovim-55a59e56eda98f17448a1c318a346ae12d30fc05.tar.bz2
rneovim-55a59e56eda98f17448a1c318a346ae12d30fc05.zip
feat(lsp): enable default debounce of 150 ms (#16908)
Diffstat (limited to 'test/functional/plugin/lsp_spec.lua')
-rw-r--r--test/functional/plugin/lsp_spec.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua
index 1af31c38f8..2fe7eca260 100644
--- a/test/functional/plugin/lsp_spec.lua
+++ b/test/functional/plugin/lsp_spec.lua
@@ -73,8 +73,11 @@ local function fake_lsp_server_setup(test_name, timeout_ms, options)
on_init = function(client, result)
TEST_RPC_CLIENT = client
vim.rpcrequest(1, "init", result)
- client.config.flags.allow_incremental_sync = options.allow_incremental_sync or false
end;
+ flags = {
+ allow_incremental_sync = options.allow_incremental_sync or false;
+ debounce_text_changes = 0;
+ };
on_exit = function(...)
vim.rpcnotify(1, "exit", ...)
end;