aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2022-09-08 19:25:16 +0200
committerGitHub <noreply@github.com>2022-09-08 10:25:16 -0700
commit19a3b2c26e28382a65529a38be9ff63ca58cc023 (patch)
tree9c7526fe828af6d64d337ffd7966229a7ceae0b9 /runtime/lua/vim/lsp
parent30ca6d23a9c77175a76a4cd59da81de83d9253af (diff)
downloadrneovim-19a3b2c26e28382a65529a38be9ff63ca58cc023.tar.gz
rneovim-19a3b2c26e28382a65529a38be9ff63ca58cc023.tar.bz2
rneovim-19a3b2c26e28382a65529a38be9ff63ca58cc023.zip
docs(lsp): update rpc.start stdio limitations (#20120)
Diffstat (limited to 'runtime/lua/vim/lsp')
-rw-r--r--runtime/lua/vim/lsp/rpc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/rpc.lua b/runtime/lua/vim/lsp/rpc.lua
index 70f838f34d..7d047f8958 100644
--- a/runtime/lua/vim/lsp/rpc.lua
+++ b/runtime/lua/vim/lsp/rpc.lua
@@ -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}.