ale
ale copied to clipboard
Vim stretches out highlighted sections, sometimes across multiple lines
posting on behalf of @oblitum
Information
VIM version vim 8.1.542
Operating System:
What went wrong
Either ALE or Vim extends highlights when the text inside of a highlight is modified.
https://i.imgur.com/NpEWq5C.gif
Reproducing the bug
- Edit a file with a highlight, with a linter that requires files to be saved
- Press enter when in a highlight section
:ALEInfo
I've seen this happening with other linter plugins too, so it's possibly associated with a vim limitation, but the issue is less of a concern in general when linting is dynamic, because the highlighting bug vanishes quickly, when linting is file-save based, it doesn't vanish until file is saved, so the effect is much worse.
Could the picture illustrating this problem please be uploaded to Microsoft GitHub, so it becomes visible within this ticket?