feat(builtin.treesitter): add symbol_width opt (#3105)

* Add options to customize length of symbols and line numbers for gen_from_treesitter

* Revert adding symbol_type_width option

* Add docs and type hint
This commit is contained in:
Max Jendruk
2024-05-23 03:50:14 +02:00
committed by GitHub
parent 4aed63995a
commit 05f4d6f0a9
3 changed files with 4 additions and 1 deletions

View File

@@ -970,6 +970,8 @@ builtin.treesitter() *telescope.builtin.treesitter()*
{bufnr} (number) specify the buffer number where
treesitter should run. (default:
current buffer)
{symbol_width} (number) defines the width of the symbol
section (default: 25)
{symbols} (string|table) filter results by symbol kind(s)
{ignore_symbols} (string|table) list of symbols to ignore
{symbol_highlights} (table) string -> string. Matches symbol