Open infokiller opened 5 years ago
I'm not sure if this can be fixed.
I figured this may not be easy to fix. For the record, I think the most sensible behavior after the list is updated is as following:
There's no logic for selecting an item, so my guess is that each time the list is replaced, Vim is resetting the selection to the first item again. I'm not aware of a way to prevent that, but maybe someone else might have a suggestion.
Yes I figured that there's probably no logic for this in the code right now, but only suggested what it should be like if it's added.
Information
VIM version
NVIM v0.4.2 Build type: Release
Operating System: ArchLinux 5.2.18
What went wrong
After liniting is run, the first location list item is selected, which is annoying if you already selected another item.
Reproducing the bug
:ALELint
(or wait for it to run automatically).See this screencast for a demo with the minimal vimrc I tested:
:ALEInfo