folke / trouble.nvim

🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Apache License 2.0
5.44k stars 177 forks source link

feature: remove window flicker on auto_jump #450

Closed saecki closed 4 months ago

saecki commented 4 months ago

Huh i tried creating an issue with the V3 issue template while you removed it, now everything is gone :thinking:

As mentioned in #409 the trouble window briefly opens even if auto_jump is enabled and only one result is found.

It would be great if trouble could somehow make the request and wait for the results and only the window when the results have been loaded. When auto_jump is enabled trouble could just skip opening the window an immediately jump to the location. Maybe this could only be done if auto_jump is enabled.

I don't know if that is in any way or form practical to implement given the new async architecture.

saecki commented 4 months ago

Thanks :heart:, works like a charm