diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-06 21:03:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-06 21:03:53 +0100 |
commit | cba6952e3499f85545c274873c67bb843d3f3518 (patch) | |
tree | 706eaad538e2e5cb88380d210f3690743325a3fa /src/drawline.c | |
parent | 3f74c0ab32de7ed17dd16d9b06f5455a0bb1c297 (diff) |
patch 9.0.0157: 'showbreak' displayed below truncated "after" text propv9.0.0157
Problem: 'showbreak' displayed below truncated "after" text prop.
Solution: Suppress 'showbreak' when "after" prop doesn't wrap.
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c index 6024bad29c..26b52d3b17 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -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 |