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

Peek definition able to take width of the editor rather than the window #1504

Open
TheNoeTrevino opened this issue Nov 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@TheNoeTrevino
Copy link

Is your feature request related to a problem? Please describe.
When I use peek definition while having more than one window open, the peek can be very small in width, when I have just one, it is must too large. It would be great to have the option to have it be consistent

Currently, this plugin has that functionality, but does not have the very convenient mapping functionality that lspsaga has. I would love for there to be a best of both worlds.

https://github.com/rmagatti/goto-preview

I could be wrong, but it could be rather simple to implement, as what I am thinking is exactly what the references feature does. Maybe getting the width from the editor rather than window. I will try to contribute when I get the time, but this is a feature I would love to have.

@TheNoeTrevino TheNoeTrevino added the enhancement New feature or request label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant