mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(docs): update lsp.rpc.start docs to match return value changes (#20003)
Follow up to https://github.com/neovim/neovim/pull/19916
This commit is contained in:
parent
0368ca70c4
commit
981ae83fad
@ -1982,11 +1982,8 @@ start({cmd}, {cmd_args}, {dispatchers}, {extra_spawn_params})
|
|||||||
Methods:
|
Methods:
|
||||||
• `notify()` |vim.lsp.rpc.notify()|
|
• `notify()` |vim.lsp.rpc.notify()|
|
||||||
• `request()` |vim.lsp.rpc.request()|
|
• `request()` |vim.lsp.rpc.request()|
|
||||||
|
• `is_closing()` returns a boolean indicating if the RPC is closing.
|
||||||
Members:
|
• `terminate()` terminates the RPC client.
|
||||||
• {pid} (number) The LSP server's PID.
|
|
||||||
• {handle} A handle for low-level interaction with the LSP server
|
|
||||||
process |vim.loop|.
|
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
@ -654,11 +654,8 @@ end
|
|||||||
---@returns Methods:
|
---@returns Methods:
|
||||||
--- - `notify()` |vim.lsp.rpc.notify()|
|
--- - `notify()` |vim.lsp.rpc.notify()|
|
||||||
--- - `request()` |vim.lsp.rpc.request()|
|
--- - `request()` |vim.lsp.rpc.request()|
|
||||||
---
|
--- - `is_closing()` returns a boolean indicating if the RPC is closing.
|
||||||
---@returns Members:
|
--- - `terminate()` terminates the RPC client.
|
||||||
--- - {pid} (number) The LSP server's PID.
|
|
||||||
--- - {handle} A handle for low-level interaction with the LSP server process
|
|
||||||
--- |vim.loop|.
|
|
||||||
local function start(cmd, cmd_args, dispatchers, extra_spawn_params)
|
local function start(cmd, cmd_args, dispatchers, extra_spawn_params)
|
||||||
local _ = log.info()
|
local _ = log.info()
|
||||||
and log.info('Starting RPC client', { cmd = cmd, args = cmd_args, extra = extra_spawn_params })
|
and log.info('Starting RPC client', { cmd = cmd, args = cmd_args, extra = extra_spawn_params })
|
||||||
|
Loading…
Reference in New Issue
Block a user