mirror of
https://github.com/neovim/neovim.git
synced 2026-03-29 03:42:11 +00:00
docs: api, messages, lsp, trust
gen_vimdoc.lua: In prepare for the upcoming release, comment-out the "Experimental" warning for prerelease features.
This commit is contained in:
@@ -1046,13 +1046,11 @@ end
|
||||
--- ```
|
||||
---
|
||||
--- By default asks the server to shutdown, unless stop was requested already for this client (then
|
||||
--- force-shutdown is attempted, unless `exit_timeout=false`).
|
||||
--- force-stop is attempted, unless `exit_timeout=false`).
|
||||
---
|
||||
---@deprecated
|
||||
---@param client_id integer|integer[]|vim.lsp.Client[] id, list of id's, or list of |vim.lsp.Client| objects
|
||||
---@param force? boolean|integer Whether to shutdown forcefully.
|
||||
--- If `force` is a number, it will be treated as the time in milliseconds to
|
||||
--- wait before forcing the shutdown.
|
||||
---@param force? boolean|integer See |Client:stop()|
|
||||
function lsp.stop_client(client_id, force)
|
||||
vim.deprecate('vim.lsp.stop_client()', 'vim.lsp.Client:stop()', '0.13')
|
||||
--- @type integer[]|vim.lsp.Client[]
|
||||
|
||||
Reference in New Issue
Block a user