fix: apply jump_type only if the definition file is different from the current file (#2324)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user