docs(lsp): update rpc.start stdio limitations (#20120)

This commit is contained in:
Mathias Fußenegger
2022-09-08 19:25:16 +02:00
committed by GitHub
parent 30ca6d23a9
commit 19a3b2c26e
2 changed files with 5 additions and 3 deletions

View File

@@ -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}.