aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorSooryakiran Ponnath <skp.frl@gmail.com>2023-06-20 15:17:13 -0400
committerGitHub <noreply@github.com>2023-06-20 21:17:13 +0200
commit3bf887f6e08fa272679187340ca483809275b20a (patch)
tree72cba1cc22ca39e0774f6bf46d31e735cfe1938e /runtime/doc
parent1f0b2dc6cd8fbf650dfbfb3328de6e6284aec9e4 (diff)
downloadrneovim-3bf887f6e08fa272679187340ca483809275b20a.tar.gz
rneovim-3bf887f6e08fa272679187340ca483809275b20a.tar.bz2
rneovim-3bf887f6e08fa272679187340ca483809275b20a.zip
fix(lsp): always return boolean in lsp.buf_client_attach (#24077)
Co-authored-by: Mathias Fussenegger <f.mathias@zignar.net>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index bc924df39b..3732ddf2bd 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -678,6 +678,10 @@ buf_attach_client({bufnr}, {client_id}) *vim.lsp.buf_attach_client()*
• {bufnr} (integer) Buffer handle, or 0 for current
• {client_id} (integer) Client id
+ Return: ~
+ (boolean) success `true` if client was attached successfully; `false`
+ otherwise
+
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