Closed distek closed 4 months ago
Development on the main branch is EOL.
Trouble has been rewritten and will be merged in main soon.
This issue/feature either no longer exists or has been implemented on dev.
For more info, see https://github.com/folke/trouble.nvim/tree/dev
Did you check the docs?
Is your feature request related to a problem? Please describe.
If the buffer for trouble is moved to a different window, the
View:get_cursor()
fails (along with some other internals).Describe the solution you'd like
A way to rather set the window ID for the
view
object, or have trouble determine what the current window is based on which window has the buffer open (if only one, or use the first one it finds?).Allowing the user to set is likely the safer option, I'd imagine.
Describe alternatives you've considered
n/a
Additional context
Adding the following works just fine:
There is the possibility of errors due to the user not managing the window as needed, but the responsibility of such is on the user.
If they're using such a feature, the implication would be they should know what they're doing.