mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
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
This commit is contained in:
committed by
GitHub
parent
b079a9d2e7
commit
e56437cd48
@@ -95,7 +95,7 @@ describe('LSP', function()
|
||||
exec_lua(function()
|
||||
_G.lsp = require('vim.lsp')
|
||||
function _G.test__start_client()
|
||||
return vim.lsp.start_client {
|
||||
return vim.lsp.start({
|
||||
cmd_env = {
|
||||
NVIM_LOG_FILE = fake_lsp_logfile,
|
||||
NVIM_APPNAME = 'nvim_lsp_test',
|
||||
@@ -112,7 +112,7 @@ describe('LSP', function()
|
||||
name = 'test_folder',
|
||||
},
|
||||
},
|
||||
}
|
||||
}, { attach = false })
|
||||
end
|
||||
_G.TEST_CLIENT1 = _G.test__start_client()
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user