ale icon indicating copy to clipboard operation
ale copied to clipboard

Vim stretches out highlighted sections, sometimes across multiple lines

Open RyanSquared opened this issue 6 years ago • 2 comments

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

  1. Edit a file with a highlight, with a linter that requires files to be saved
  2. Press enter when in a highlight section

:ALEInfo

RyanSquared avatar Dec 06 '18 05:12 RyanSquared

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.

oblitum avatar Dec 13 '18 14:12 oblitum

Could the picture illustrating this problem please be uploaded to Microsoft GitHub, so it becomes visible within this ticket?

rymdbar avatar Mar 23 '25 20:03 rymdbar