feat(current_buffer_fuzzy_find): results_ts_highlight option (#2722)

* feat(current_buffer_fuzzy_find): `results_ts_highlight` option

adds new option to the `current_buffer_fuzzy_find` picker
`results_ts_highlight` to enable/disable treesitter highlight for result
entries (default: true)

closes #2720

* [docgen] Update doc/telescope.txt
skip-checks: true

---------

Co-authored-by: Github Actions <actions@github>
This commit is contained in:
James Trew
2023-09-28 21:42:03 -04:00
committed by GitHub
parent 84d53dfdbe
commit ffe90fac32
3 changed files with 13 additions and 4 deletions

View File

@@ -936,9 +936,11 @@ builtin.current_buffer_fuzzy_find({opts}) *telescope.builtin.current_buffer_fuzz
{opts} (table) options to pass to the picker
Options: ~
{skip_empty_lines} (boolean) if true we don't display empty lines
(default: false)
{file_encoding} (string) file encoding for the previewer
{skip_empty_lines} (boolean) if true we don't display empty lines
(default: false)
{results_ts_highlight} (boolean) highlight result entries with
treesitter (default: true)
{file_encoding} (string) file encoding for the previewer
builtin.tags({opts}) *telescope.builtin.tags()*
@@ -3020,6 +3022,11 @@ actions.git_switch_branch({prompt_bufnr}) *telescope.actions.git_switch_branch()
{prompt_bufnr} (number) The prompt bufnr
actions.git_rename_branch() *telescope.actions.git_rename_branch()*
Action to rename selected git branch
actions.git_track_branch({prompt_bufnr}) *telescope.actions.git_track_branch()*
Tell git to track the currently selected remote branch in Telescope