Incorrect color in v-split border after recent Vim updates.
A newer version of Vim now "extends" the active statusline in the vertical split border (most likely from this PR). This is causing issue, as when lightline is actively changing the color of the statusline, the cell on the border is not able to catch up and display in incorrect color.
For example, this is in Vim 9.2.907, a consecutive screenshot of mode changing in this order: NORMAL -> INSERT -> NORMAL -> VISUAL -> NORMAL
While in an older version of Vim, the statusline is not extended in the v-split border:
I'm not entirely sure if this should be a thing to fix in the Vim side or the plugin side, but I lack the ability to do further investigation.
We can't change this behavior from plugins. Please report to Vim dev.