diff options
author | Anshuman Medhi <amedhi@connect.ust.hk> | 2021-12-05 21:04:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-05 14:04:53 +0100 |
commit | 9b65a7e06438c3b407ad7136a30c0a5281f2174f (patch) | |
tree | fa0e8db4febb1eb50a56ccdfc5790336f453413f /runtime/lua/vim/lsp.lua | |
parent | 1e6eeca9d1360554ee18525603e83c3a1999a622 (diff) | |
download | rneovim-9b65a7e06438c3b407ad7136a30c0a5281f2174f.tar.gz rneovim-9b65a7e06438c3b407ad7136a30c0a5281f2174f.tar.bz2 rneovim-9b65a7e06438c3b407ad7136a30c0a5281f2174f.zip |
docs(lsp): re-add client.requests documentation (#16530)
Closes #16528
Added in this PR: https://github.com/neovim/neovim/commit/d1c470957b49380ec5ceba603dbd85a14f60f09b#diff-6b5f3071d65558aab177912061ac6a2f5312660655a449276c83697686f28e72R627
Removed by regeneration in this PR: https://github.com/neovim/neovim/commit/2d340a3746dd5d6caf17b2c2e78380fa423409e8#diff-6b5f3071d65558aab177912061ac6a2f5312660655a449276c83697686f28e72L631
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r-- | runtime/lua/vim/lsp.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 61a700bd15..dbbfd7d1d8 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -559,6 +559,12 @@ end --- --- - {handlers} (table): The handlers used by the client as described in |lsp-handler|. --- +--- - {requests} (table): The current pending requests in flight +--- to the server. Entries are key-value pairs with the key +--- being the request ID while the value is a table with `type`, +--- `bufnr`, and `method` key-value pairs. `type` is either "pending" +--- for an active request, or "cancel" for a cancel request. +--- --- - {config} (table): copy of the table that was passed by the user --- to |vim.lsp.start_client()|. --- |