Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable entry column width in Treesitter picker to be customized #3041

Closed
scienceplease opened this issue Apr 9, 2024 · 2 comments
Closed
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@scienceplease
Copy link

scienceplease commented Apr 9, 2024

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 scienceplease added the enhancement Enhancement to performance, inner workings or existent features label Apr 9, 2024
@hardenedapple
Copy link

hardenedapple commented May 1, 2024

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.

@jamestrew
Copy link
Contributor

closed by #3105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

No branches or pull requests

3 participants