diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-09 14:40:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 14:40:19 +0200 |
commit | 191d3e6af7a248c86f0adde22b7768095f9c0356 (patch) | |
tree | b3b5d5539e31a93836853b292543ceb9fd8b7fb8 | |
parent | 9132b76da6c22bdd96af62113ff23e408fcc2ae7 (diff) | |
parent | 832e1708c269210d1b5af6cc98df40fdc2940423 (diff) | |
download | rneovim-191d3e6af7a248c86f0adde22b7768095f9c0356.tar.gz rneovim-191d3e6af7a248c86f0adde22b7768095f9c0356.tar.bz2 rneovim-191d3e6af7a248c86f0adde22b7768095f9c0356.zip |
Merge pull request #15035 from neovim/marvim/api-doc-update/master
docs: regenerate
-rw-r--r-- | runtime/doc/lsp.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 3c878374ca..d16c3367bb 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1633,7 +1633,7 @@ progress_handler({_}, {_}, {params}, {client_id}) https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_executeCommand *vim.lsp.handlers.signature_help()* -signature_help({_}, {method}, {result}, {_}, {bufnr}, {config}) +signature_help({_}, {method}, {result}, {client_id}, {bufnr}, {config}) Parameters: ~ {config} table Configuration table. • border: (default=nil) @@ -1776,7 +1776,7 @@ convert_input_to_markdown_lines({input}, {contents}) https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover *vim.lsp.util.convert_signature_help_to_markdown_lines()* -convert_signature_help_to_markdown_lines({signature_help}, {ft}) +convert_signature_help_to_markdown_lines({signature_help}, {ft}, {triggers}) Converts `textDocument/SignatureHelp` response to markdown lines. @@ -1785,6 +1785,9 @@ convert_signature_help_to_markdown_lines({signature_help}, {ft}) {ft} optional filetype that will be use as the `lang` for the label markdown code block + {triggers} optional list of trigger characters from + the lsp server. used to better determine + parameter offsets Return: ~ list of lines of converted markdown. |