mirror of
https://github.com/vim/vim.git
synced 2025-10-22 08:34:29 -04:00
patch 9.0.0157: 'showbreak' displayed below truncated "after" text prop
Problem: 'showbreak' displayed below truncated "after" text prop. Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
This commit is contained in:
@@ -1722,7 +1722,7 @@ win_line(
|
||||
// don't combine char attr after EOL
|
||||
text_prop_flags &= ~PT_FLAG_COMBINE;
|
||||
#ifdef FEAT_LINEBREAK
|
||||
if (below || right)
|
||||
if (below || right || !wrap)
|
||||
{
|
||||
// no 'showbreak' before "below" text property
|
||||
// or after "right" text property
|
||||
|
Reference in New Issue
Block a user