mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
fix: previewers & entry maker file encoding (#2430)
(cherry picked from commit c8b65238e8)
This commit is contained in:
+56
-34
@@ -796,6 +796,8 @@ builtin.live_grep({opts}) *telescope.builtin.live_grep()*
|
||||
{max_results} (number) define a upper result value
|
||||
{disable_coordinates} (boolean) don't show the line & row
|
||||
numbers (default: false)
|
||||
{file_encoding} (string) file encoding for the entry &
|
||||
previewer
|
||||
|
||||
|
||||
builtin.grep_string({opts}) *telescope.builtin.grep_string()*
|
||||
@@ -830,6 +832,8 @@ builtin.grep_string({opts}) *telescope.builtin.grep_string()*
|
||||
{only_sort_text} (boolean) only sort the text, not the
|
||||
file, line or row (default:
|
||||
false)
|
||||
{file_encoding} (string) file encoding for the entry &
|
||||
previewer
|
||||
|
||||
|
||||
builtin.find_files({opts}) *telescope.builtin.find_files()*
|
||||
@@ -859,6 +863,7 @@ builtin.find_files({opts}) *telescope.builtin.find_files()*
|
||||
{search_dirs} (table) directory/directories/files to
|
||||
search
|
||||
{search_file} (string) specify a filename to search for
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.fd() *telescope.builtin.fd()*
|
||||
@@ -881,6 +886,7 @@ builtin.treesitter() *telescope.builtin.treesitter()*
|
||||
current buffer)
|
||||
{symbol_highlights} (table) string -> string. Matches symbol with
|
||||
hl_group
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.current_buffer_fuzzy_find({opts}) *telescope.builtin.current_buffer_fuzzy_find()*
|
||||
@@ -893,6 +899,7 @@ builtin.current_buffer_fuzzy_find({opts}) *telescope.builtin.current_buffer_fuzz
|
||||
Options: ~
|
||||
{skip_empty_lines} (boolean) if true we don't display empty lines
|
||||
(default: false)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.tags({opts}) *telescope.builtin.tags()*
|
||||
@@ -962,6 +969,7 @@ builtin.git_files({opts}) *telescope.builtin.git_files()*
|
||||
(default: false)
|
||||
{git_command} (table) command that will be executed.
|
||||
{"git","ls-files","--exclude-standard","--cached"}
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.git_commits({opts}) *telescope.builtin.git_commits()*
|
||||
@@ -1201,8 +1209,9 @@ builtin.oldfiles({opts}) *telescope.builtin.oldfiles()*
|
||||
{opts} (table) options to pass to the picker
|
||||
|
||||
Options: ~
|
||||
{only_cwd} (boolean) show only files in the cwd (default: false)
|
||||
{cwd_only} (boolean) alias for only_cwd
|
||||
{only_cwd} (boolean) show only files in the cwd (default: false)
|
||||
{cwd_only} (boolean) alias for only_cwd
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.command_history({opts}) *telescope.builtin.command_history()*
|
||||
@@ -1302,6 +1311,7 @@ builtin.buffers({opts}) *telescope.builtin.buffers()*
|
||||
{bufnr_width} (number) Defines the width of the buffer
|
||||
numbers in front of the filenames
|
||||
(default: dynamic)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.colorscheme({opts}) *telescope.builtin.colorscheme()*
|
||||
@@ -1322,6 +1332,9 @@ builtin.marks({opts}) *telescope.builtin.marks()*
|
||||
Parameters: ~
|
||||
{opts} (table) options to pass to the picker
|
||||
|
||||
Options: ~
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.registers({opts}) *telescope.builtin.registers()*
|
||||
Lists vim registers, pastes the contents of the register on `<cr>`
|
||||
@@ -1426,6 +1439,7 @@ builtin.lsp_references({opts}) *telescope.builtin.lsp_references()*
|
||||
section (default: 30)
|
||||
{show_line} (boolean) show results text (default: true)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_incoming_calls({opts}) *telescope.builtin.lsp_incoming_calls()*
|
||||
@@ -1437,10 +1451,11 @@ builtin.lsp_incoming_calls({opts}) *telescope.builtin.lsp_incoming_calls()*
|
||||
{opts} (table) options to pass to the picker
|
||||
|
||||
Options: ~
|
||||
{fname_width} (number) defines the width of the filename section
|
||||
(default: 30)
|
||||
{show_line} (boolean) show results text (default: true)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{fname_width} (number) defines the width of the filename section
|
||||
(default: 30)
|
||||
{show_line} (boolean) show results text (default: true)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_outgoing_calls({opts}) *telescope.builtin.lsp_outgoing_calls()*
|
||||
@@ -1452,10 +1467,11 @@ builtin.lsp_outgoing_calls({opts}) *telescope.builtin.lsp_outgoing_calls()*
|
||||
{opts} (table) options to pass to the picker
|
||||
|
||||
Options: ~
|
||||
{fname_width} (number) defines the width of the filename section
|
||||
(default: 30)
|
||||
{show_line} (boolean) show results text (default: true)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{fname_width} (number) defines the width of the filename section
|
||||
(default: 30)
|
||||
{show_line} (boolean) show results text (default: true)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_definitions({opts}) *telescope.builtin.lsp_definitions()*
|
||||
@@ -1467,14 +1483,15 @@ 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
|
||||
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)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{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)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_type_definitions({opts}) *telescope.builtin.lsp_type_definitions()*
|
||||
@@ -1486,14 +1503,15 @@ 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
|
||||
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)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{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)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_implementations({opts}) *telescope.builtin.lsp_implementations()*
|
||||
@@ -1505,14 +1523,15 @@ builtin.lsp_implementations({opts}) *telescope.builtin.lsp_implementations()*
|
||||
{opts} (table) options to pass to the picker
|
||||
|
||||
Options: ~
|
||||
{jump_type} (string) how to goto implementation 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)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{jump_type} (string) how to goto implementation 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)
|
||||
{trim_text} (boolean) trim results text (default: false)
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_document_symbols({opts}) *telescope.builtin.lsp_document_symbols()*
|
||||
@@ -1539,6 +1558,7 @@ builtin.lsp_document_symbols({opts}) *telescope.builtin.lsp_document_symbols()*
|
||||
{ignore_symbols} (string|table) list of symbols to ignore
|
||||
{symbol_highlights} (table) string -> string. Matches symbol
|
||||
with hl_group
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_workspace_symbols({opts}) *telescope.builtin.lsp_workspace_symbols()*
|
||||
@@ -1567,6 +1587,7 @@ builtin.lsp_workspace_symbols({opts}) *telescope.builtin.lsp_workspace_symbols()
|
||||
{ignore_symbols} (string|table) list of symbols to ignore
|
||||
{symbol_highlights} (table) string -> string. Matches symbol
|
||||
with hl_group
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.lsp_dynamic_workspace_symbols({opts}) *telescope.builtin.lsp_dynamic_workspace_symbols()*
|
||||
@@ -1589,6 +1610,7 @@ builtin.lsp_dynamic_workspace_symbols({opts}) *telescope.builtin.lsp_dynamic_wor
|
||||
{ignore_symbols} (string|table) list of symbols to ignore
|
||||
{symbol_highlights} (table) string -> string. Matches symbol
|
||||
with hl_group
|
||||
{file_encoding} (string) file encoding for the previewer
|
||||
|
||||
|
||||
builtin.diagnostics({opts}) *telescope.builtin.diagnostics()*
|
||||
|
||||
Reference in New Issue
Block a user