mirror of
https://github.com/neovim/neovim.git
synced 2026-08-31 03:13:48 +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
@@ -89,7 +89,7 @@ describe('vim.lsp.diagnostic', function()
|
||||
return extmarks
|
||||
end
|
||||
|
||||
client_id = assert(vim.lsp.start_client {
|
||||
client_id = assert(vim.lsp.start({
|
||||
cmd_env = {
|
||||
NVIM_LUA_NOTRACK = '1',
|
||||
},
|
||||
@@ -101,7 +101,7 @@ describe('vim.lsp.diagnostic', function()
|
||||
'--headless',
|
||||
},
|
||||
offset_encoding = 'utf-16',
|
||||
})
|
||||
}, { attach = false }))
|
||||
end)
|
||||
|
||||
fake_uri = 'file:///fake/uri'
|
||||
|
||||
Reference in New Issue
Block a user