mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
docs: regenerate (#16742)
Co-authored-by: marvim <marvim@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7b8fbbdebe
commit
bc27d807f3
@ -485,6 +485,16 @@ buf_attach_client({bufnr}, {client_id}) *vim.lsp.buf_attach_client()*
|
||||
{bufnr} (number) Buffer handle, or 0 for current
|
||||
{client_id} (number) Client id
|
||||
|
||||
buf_detach_client({bufnr}, {client_id}) *vim.lsp.buf_detach_client()*
|
||||
Detaches client from the specified buffer. Note: While the
|
||||
server is notified that the text document (buffer) was closed,
|
||||
it is still able to send notifications should it ignore this
|
||||
notification.
|
||||
|
||||
Parameters: ~
|
||||
{bufnr} number Buffer handle, or 0 for current
|
||||
{client_id} number Client id
|
||||
|
||||
buf_get_clients({bufnr}) *vim.lsp.buf_get_clients()*
|
||||
Gets a map of client_id:client pairs for the given buffer,
|
||||
where each value is a |vim.lsp.client| object.
|
||||
|
Reference in New Issue
Block a user