You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is no problem, just a quality of life
Describe the solution you'd like
Currently, using require("trouble.sources.telescope").open only takes the passed buffer number from telescope. After adding the items to the trouble buffer, it opens the window with require("trouble").open("telescope").
It would be a nice quality of life to allow the user to pass additional options to the require("trouble.sources.telescope").open function. This would allow the user to change the auto focus, preview, and other options.
Did you check the docs?
Is your feature request related to a problem? Please describe.
There is no problem, just a quality of life
Describe the solution you'd like
Currently, using
require("trouble.sources.telescope").open
only takes the passed buffer number from telescope. After adding the items to the trouble buffer, it opens the window withrequire("trouble").open("telescope")
.It would be a nice quality of life to allow the user to pass additional options to the
require("trouble.sources.telescope").open
function. This would allow the user to change the auto focus, preview, and other options.Maybe a table merge so that the end of
trouble.sources.trouble.add
can look something like thisDescribe alternatives you've considered
Alternatively the opening of the window could be pulled out and into the
trouble.sources.telescope.open
function itselfAdditional context
No response
The text was updated successfully, but these errors were encountered: