aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMathias Fussenegger <f.mathias@zignar.net>2022-08-23 22:39:34 +0200
committerMathias Fussenegger <f.mathias@zignar.net>2022-08-28 14:07:53 +0200
commit7d3e4aee6a11f0bd4c53b0dcb18a496b5fdd32b2 (patch)
tree57f703c3d3bdba898f24a5eab22bf626fbbfca04 /runtime/doc
parentf9641d1ac6bae58a42572ce3bfa34d62d5f22619 (diff)
downloadrneovim-7d3e4aee6a11f0bd4c53b0dcb18a496b5fdd32b2.tar.gz
rneovim-7d3e4aee6a11f0bd4c53b0dcb18a496b5fdd32b2.tar.bz2
rneovim-7d3e4aee6a11f0bd4c53b0dcb18a496b5fdd32b2.zip
refactor(lsp): encapsulate rpc uv handle
To prepare for different transports like TCP where the handle won't have a kill method.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lsp.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 9235fdef34..9661a43e4c 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1904,7 +1904,7 @@ notify({method}, {params}) *vim.lsp.rpc.notify()*
Parameters: ~
{method} (string) The invoked LSP method
- {params} (table): Parameters for the invoked LSP method
+ {params} (table|nil): Parameters for the invoked LSP method
Return: ~
(bool) `true` if notification could be sent, `false` if not
@@ -1915,7 +1915,8 @@ request({method}, {params}, {callback}, {notify_reply_callback})
Parameters: ~
{method} (string) The invoked LSP method
- {params} (table) Parameters for the invoked LSP method
+ {params} (table|nil) Parameters for the invoked LSP
+ method
{callback} (function) Callback to invoke
{notify_reply_callback} (function|nil) Callback to invoke as soon as
a request is no longer pending