telescope.nvim icon indicating copy to clipboard operation
telescope.nvim copied to clipboard

Enable entry column width in Treesitter picker to be customized

Open scienceplease opened this issue 1 year ago • 1 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.

scienceplease avatar Apr 09 '24 00:04 scienceplease

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.

hardenedapple avatar May 01 '24 09:05 hardenedapple

closed by https://github.com/nvim-telescope/telescope.nvim/pull/3105

jamestrew avatar May 23 '24 01:05 jamestrew