diff options
author | Maria José Solano <majosolano99@gmail.com> | 2024-12-04 05:14:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-04 05:14:47 -0800 |
commit | e56437cd48f7df87ccdfb79812ee56241c0da0cb (patch) | |
tree | 95ace99b60a4b237f714c17717788a1e08d18247 /test/functional/plugin/lsp/semantic_tokens_spec.lua | |
parent | b079a9d2e76062ee7275e35a4623108550e836a5 (diff) | |
download | rneovim-e56437cd48f7df87ccdfb79812ee56241c0da0cb.tar.gz rneovim-e56437cd48f7df87ccdfb79812ee56241c0da0cb.tar.bz2 rneovim-e56437cd48f7df87ccdfb79812ee56241c0da0cb.zip |
feat(lsp): deprecate vim.lsp.start_client #31341
Problem:
LSP module has multiple "start" interfaces.
Solution:
- Enhance vim.lsp.start
- Deprecate vim.lsp.start_client
Diffstat (limited to 'test/functional/plugin/lsp/semantic_tokens_spec.lua')
-rw-r--r-- | test/functional/plugin/lsp/semantic_tokens_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/plugin/lsp/semantic_tokens_spec.lua b/test/functional/plugin/lsp/semantic_tokens_spec.lua index 280bd27207..9912bf2063 100644 --- a/test/functional/plugin/lsp/semantic_tokens_spec.lua +++ b/test/functional/plugin/lsp/semantic_tokens_spec.lua @@ -456,7 +456,7 @@ describe('semantic token highlighting', function() vim.notify = function(...) table.insert(_G.notifications, 1, { ... }) end - return vim.lsp.start_client({ name = 'dummy', cmd = _G.server.cmd }) + return vim.lsp.start({ name = 'dummy', cmd = _G.server.cmd }, { attach = false }) end) eq(false, exec_lua('return vim.lsp.buf_is_attached(0, ...)', client_id)) |