diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-12-23 13:55:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-23 13:55:38 +0100 |
commit | bc27d807f3774a77869fb18966edd3a16b3ace21 (patch) | |
tree | 68870e39e55142e42ac163292177d4beb8a2bfb5 | |
parent | 7b8fbbdebe90a2dbf0d57464c93c7d5bfc3da449 (diff) | |
download | rneovim-bc27d807f3774a77869fb18966edd3a16b3ace21.tar.gz rneovim-bc27d807f3774a77869fb18966edd3a16b3ace21.tar.bz2 rneovim-bc27d807f3774a77869fb18966edd3a16b3ace21.zip |
docs: regenerate (#16742)
Co-authored-by: marvim <marvim@users.noreply.github.com>
-rw-r--r-- | runtime/doc/lsp.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 3793a21f36..a3929aeab9 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -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. |