diff options
| author | Jaehwang Jung <tomtomjhj@gmail.com> | 2023-03-11 22:50:53 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-11 14:50:53 +0100 |
| commit | 0ce626b783dcca8eed08a2bb5a18e2c3ef931fbe (patch) | |
| tree | 76647072daaf2a286960d4dedd0c99c517e2b03a /runtime/doc | |
| parent | 23dc2a59b6e13b0dbab47c6c64ac5a55095b258b (diff) | |
| download | rneovim-0ce626b783dcca8eed08a2bb5a18e2c3ef931fbe.tar.gz rneovim-0ce626b783dcca8eed08a2bb5a18e2c3ef931fbe.tar.bz2 rneovim-0ce626b783dcca8eed08a2bb5a18e2c3ef931fbe.zip | |
docs(lsp): more precise type annotations (#22621)
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lsp.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index d13dc4a782..ca65251a9f 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -676,7 +676,7 @@ buf_request_all({bufnr}, {method}, {params}, {callback}) finished. Unlike `buf_request`, this will collect all the responses from each server instead of handling them. A map of client_id:request_result will be provided to the - callback + callback. Return: ~ fun() cancel A function that will cancel all requests @@ -697,9 +697,9 @@ buf_request_sync({bufnr}, {method}, {params}, {timeout_ms}) result. Defaults to 1000 Return: ~ - table<integer, any>|nil result, string|nil err Map of - client_id:request_result. On timeout, cancel or error, returns `(nil, - err)` where `err` is a string describing the failure reason. + (table) result Map of client_id:request_result. + (string|nil) err On timeout, cancel, or error, `err` is a string + describing the failure reason, and `result` is nil. client() *vim.lsp.client* LSP client object. You can get an active client object via |