Closed yavorski closed 5 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.
When opening Trouble I don't want to be distracted/frustrated by the first automatic
auto_preview
action.Describe the solution you'd like
Would like to have an option to disable just the first/initial
auto_preview
when trouble is opening.Describe alternatives you've considered
I am using the following autocmd to prevent the unwanted initial preview. This is moving the cursor at the top of Trouble window and somehow it is preventing the initial jump. Sadly it does not work for
lsp_references
, but it works forworkspace_diagnostics
.Additional context
The
auto_preview
option is great, but I don't want it to be executed automatically when opening Trouble. I want to be able to execute it only when moving to the next/prev items in the list.