diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-09-22 11:42:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 11:42:56 -0700 |
commit | 248974a4c6f1b76f0e33cd355c5c36a80ce01fac (patch) | |
tree | e6b806f98d2731ac06f464e34c8cda223901c22d /runtime/doc/lsp.txt | |
parent | ec447b879854e7bb1a54ab2b4565cd51e43fadfa (diff) | |
parent | 6c03601e3adb4c3c4d47f148df8df20401b88677 (diff) | |
download | rneovim-248974a4c6f1b76f0e33cd355c5c36a80ce01fac.tar.gz rneovim-248974a4c6f1b76f0e33cd355c5c36a80ce01fac.tar.bz2 rneovim-248974a4c6f1b76f0e33cd355c5c36a80ce01fac.zip |
Merge pull request #14115 from mfussenegger/lsp-commands
lsp: Add a registry for client side code action commands
Diffstat (limited to 'runtime/doc/lsp.txt')
-rw-r--r-- | runtime/doc/lsp.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 48d65a22b6..c434f6db66 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -224,6 +224,11 @@ For |lsp-request|, each |lsp-handler| has this signature: > The ID of the |vim.lsp.client|. {bufnr} (Buffer) Buffer handle, or 0 for current. + + {params} (table|nil) + The parameters used in the original request + which resulted in this handler + call. {config} (table) Configuration for the handler. @@ -234,6 +239,7 @@ For |lsp-request|, each |lsp-handler| has this signature: > To configure a particular |lsp-handler|, see: |lsp-handler-configuration| + Returns: ~ The |lsp-handler| can respond by returning two values: `result, err` Where `err` must be shaped like an RPC error: |