diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2022-01-05 08:36:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 08:36:35 -0800 |
commit | 55a59e56eda98f17448a1c318a346ae12d30fc05 (patch) | |
tree | b10b98f1355a9bb32af5ca6ec67272a462c06b7a /test/functional/plugin/lsp_spec.lua | |
parent | f65b0d4236eef69b02390a51cf335b0836f35801 (diff) | |
download | rneovim-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.lua | 5 |
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; |