nvim-telescope/telescope.nvim

Enable entry column width in Treesitter picker to be customized

scienceplease opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
The treesitter picker does not allow for it's entry column widths to be customized via opts (see hard-coded column widths here). This is in contrast to the LSP symbol picker which accepts symbol_width and symbol_type_width.

Describe the solution you'd like
Enable symbol_width and symbol_type_width options for treesitter picker to match LSP symbol picker.

I have the same pain point.
I would like to suggest to the devs a general "symbol/filename/<whatever> width" default that is specified in terms of the width of the result window.

That way we could specify some percentage once and have it work for everything.
Would also be really nice if it could be implemented somewhere outside of the picker themselves so not every picker needed to implement the same thing -- but I don't know if that's feasible.