Closed stefanwatt closed 6 months ago
There's two different options that to be fair sound similar but are different:
follow
: (for example with symbols) this will put the cursorline in the trouble window at the item (if any) you are currently on in the main windowpreview.auto_open
: this will automatically open the preview when on an item in the trouble windowSo you probably want preview.auto_open = false
instead.
Will put some extra work in the docs to make this more clear
I just refactored the options a bit.
You can use auto_preview=false
now instead
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-5fd1bac
Operating system/version
NixOS 23.11
Describe the bug
The cursor jumps to the location of the diagnostic regardless of the
follow
option.Steps To Reproduce
Trouble diagnostics toggle follow=false
Expected Behavior
The cursor will stay in place
Repro