diff options
| author | Freddie Haddad <6127369+freddiehaddad@users.noreply.github.com> | 2026-08-07 02:09:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-07 05:09:48 -0400 |
| commit | a8da01f8e610aebcf33df460174de78be222bc25 (patch) | |
| tree | 9e85af5e4abb7551b1193d07bf60e07a60062453 /runtime/lua/vim/_stringbuffer.lua | |
| parent | a4a544032a0ba7a3bb0aea710f9f47b6cd2885db (diff) | |
| download | rneovim-a8da01f8e610aebcf33df460174de78be222bc25.tar.gz rneovim-a8da01f8e610aebcf33df460174de78be222bc25.tar.bz2 rneovim-a8da01f8e610aebcf33df460174de78be222bc25.zip | |
fix(decor): highlight without 'hl_eol' bleeds into wrap gaps #41160
Problem:
'linebreak' filler and 'breakindent'/'showbreak' padding are screen
cells with no buffer character behind them, yet a decoration draws over
them whether or not it asked to cover such cells. A highlight bounded to
its text then paints a tail out to the edge of the row, most visible on
inline code spans from plugins. That same highlight already leaves the
cells past the end of a line alone, so it treats identical cells two
different ways.
Solution:
Only a decoration with 'hl_eol' draws the gaps, which is what the flag
already means at the end of a line. A full-width background such as a
fenced code block sets it and still covers them. Classic :syntax has no
such flag and is unchanged.
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions