summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-08-05 04:33:13 +0800
committerGitHub <noreply@github.com>2021-08-04 22:33:13 +0200
commitd7cdfcbeb63af82a949a8cc0f9135631d2db5dc6 (patch)
tree28416eec3d889e7f28f2cecc8cbbd1ecb3df6580 /doc
parent654903fc040148ee50f3ad510812b47de7a2f87a (diff)
feat: add option jump_type to lsp_definitions and lsp_implementations (#1077)
Diffstat (limited to 'doc')
-rw-r--r--doc/telescope.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt
index 7eb6ead..a12166c 100644
--- a/doc/telescope.txt
+++ b/doc/telescope.txt
@@ -789,6 +789,10 @@ builtin.lsp_definitions({opts}) *builtin.lsp_definitions()*
Parameters: ~
{opts} (table) options to pass to the picker
+ Fields: ~
+ {jump_type} (string) how to go to definition if there is only one,
+ values: "tab", "split", "vsplit", "never"
+
builtin.lsp_implementations({opts}) *builtin.lsp_implementations()*
Goto the implementation of the word under the cursor if there's only one,
@@ -798,6 +802,10 @@ builtin.lsp_implementations({opts}) *builtin.lsp_implementations()*
Parameters: ~
{opts} (table) options to pass to the picker
+ Fields: ~
+ {jump_type} (string) how to go to implementation if there is only one,
+ values: "tab", "split", "vsplit", "never"
+
builtin.lsp_code_actions({opts}) *builtin.lsp_code_actions()*
Lists any LSP actions for the word under the cursor which can be triggered