The highlight is never cleared on cursor move, which causes old/stale highlights to stay highlighted even if the cursor is completely outside of the pairs.
Minimal example situation where this can be seen easily:
| denotes cursor position.
delay option is set to 225.
-- ( |thing )
-- ( thing )
Quickly start pressing j, k, j, k, j... (Move cursor up and down.) The highlight will linger at the old location, and only gets cleared once the delay time is reached and a new highlight is created.
This linger is an issue with small delays too, like 32, but more difficult to notice. If holding down a movement key, for example <Right>, the delay will linger until the key is no longer held down.
I believe the lingering highlight also causes visual flicker when the vim option scrolloff is active. Which I myself find the most annoying. Up to the point of possibly being unable to use this plugin, which I like.
What must be kept in mind is that the highlight should not be cleared on every cursor move, as that would cause another type of flicker while moving the cursor inside a pair.
The highlight is never cleared on cursor move, which causes old/stale highlights to stay highlighted even if the cursor is completely outside of the pairs.
Minimal example situation where this can be seen easily:
|denotes cursor position.delayoption is set to225.Quickly start pressing
j, k, j, k, j...(Move cursor up and down.) The highlight will linger at the old location, and only gets cleared once the delay time is reached and a new highlight is created.This linger is an issue with small delays too, like
32, but more difficult to notice. If holding down a movement key, for example<Right>, the delay will linger until the key is no longer held down.I believe the lingering highlight also causes visual flicker when the vim option
scrolloffis active. Which I myself find the most annoying. Up to the point of possibly being unable to use this plugin, which I like.What must be kept in mind is that the highlight should not be cleared on every cursor move, as that would cause another type of flicker while moving the cursor inside a pair.