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:
Maria José Solano
2024-12-04 05:14:47 -08:00
committed by GitHub
parent b079a9d2e7
commit e56437cd48
8 changed files with 139 additions and 126 deletions

View File

@ -617,7 +617,7 @@ end
--- - a host and port via TCP
---
--- Return a function that can be passed to the `cmd` field for
--- |vim.lsp.start_client()| or |vim.lsp.start()|.
--- |vim.lsp.start()|.
---
---@param host_or_path string host to connect to or path to a pipe/domain socket
---@param port integer? TCP port to connect to. If absent the first argument must be a pipe