mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
docs(lsp): update rpc.start stdio limitations (#20120)
This commit is contained in:

committed by
GitHub

parent
30ca6d23a9
commit
19a3b2c26e
@@ -1962,8 +1962,9 @@ rpc_response_error({code}, {message}, {data})
|
||||
*vim.lsp.rpc.start()*
|
||||
start({cmd}, {cmd_args}, {dispatchers}, {extra_spawn_params})
|
||||
Starts an LSP server process and create an LSP RPC client object to
|
||||
interact with it. Communication with the server is currently limited to
|
||||
stdio.
|
||||
interact with it. Communication with the spawned process happens via
|
||||
stdio. For communication via TCP, spawn a process manually and use
|
||||
|vim.lsp.rpc.connect|
|
||||
|
||||
Parameters: ~
|
||||
{cmd} (string) Command to start the LSP server.
|
||||
|
@@ -635,7 +635,8 @@ local function connect(host, port)
|
||||
end
|
||||
|
||||
--- Starts an LSP server process and create an LSP RPC client object to
|
||||
--- interact with it. Communication with the server is currently limited to stdio.
|
||||
--- interact with it. Communication with the spawned process happens via stdio. For
|
||||
--- communication via TCP, spawn a process manually and use |vim.lsp.rpc.connect|
|
||||
---
|
||||
---@param cmd (string) Command to start the LSP server.
|
||||
---@param cmd_args (table) List of additional string arguments to pass to {cmd}.
|
||||
|
Reference in New Issue
Block a user