diff options
| author | Luyu Huang <luyu_huang@foxmail.com> | 2023-02-19 20:32:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-19 13:32:37 +0100 |
| commit | 5d9658c39dca8dd8538dd3eb1ef767374cd9b88f (patch) | |
| tree | 129f10127c4781df34aef1d296c0220743e0d498 /doc | |
| parent | 443e5a6802849f9e4611a2d91db01b8a37350524 (diff) | |
fix: apply jump_type only if the definition file is different from the current file (#2324)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/telescope.txt | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/doc/telescope.txt b/doc/telescope.txt index efa49d7..8135b0f 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -1454,8 +1454,10 @@ builtin.lsp_references({opts}) *telescope.builtin.lsp_references()* {include_current_line} (boolean) include current line (default: false) {jump_type} (string) how to goto reference if there is - only one, values: "tab", "split", - "vsplit", "never" + only one and the definition file is + different from the current file, + values: "tab", "split", "vsplit", + "never" {fname_width} (number) defines the width of the filename section (default: 30) {show_line} (boolean) show results text (default: true) @@ -1501,8 +1503,10 @@ builtin.lsp_definitions({opts}) *telescope.builtin.lsp_definitions()* {opts} (table) options to pass to the picker Options: ~ - {jump_type} (string) how to goto definition if there is only one, - values: "tab", "split", "vsplit", "never" + {jump_type} (string) how to goto definition if there is only one + and the definition file is different from the + current file, values: "tab", "split", + "vsplit", "never" {fname_width} (number) defines the width of the filename section (default: 30) {show_line} (boolean) show results text (default: true) @@ -1518,8 +1522,10 @@ builtin.lsp_type_definitions({opts}) *telescope.builtin.lsp_type_definitions()* {opts} (table) options to pass to the picker Options: ~ - {jump_type} (string) how to goto definition if there is only one, - values: "tab", "split", "vsplit", "never" + {jump_type} (string) how to goto definition if there is only one + and the definition file is different from the + current file, values: "tab", "split", + "vsplit", "never" {fname_width} (number) defines the width of the filename section (default: 30) {show_line} (boolean) show results text (default: true) @@ -1536,8 +1542,9 @@ builtin.lsp_implementations({opts}) *telescope.builtin.lsp_implementations()* Options: ~ {jump_type} (string) how to goto implementation if there is only - one, values: "tab", "split", "vsplit", - "never" + one and the definition file is different from + the current file, values: "tab", "split", + "vsplit", "never" {fname_width} (number) defines the width of the filename section (default: 30) {show_line} (boolean) show results text (default: true) |
