forked from aniani/vim
patch 9.0.0709: virtual text "after" not correct with 'nowrap'
Problem: Virtual text "after" not correct with 'nowrap'. Solution: Do not display "after" text prop on the next line when 'wrap' is off.
This commit is contained in:
@@ -1178,7 +1178,7 @@ win_lbr_chartabsize(
|
||||
{
|
||||
int n_extra = (int)STRLEN(p);
|
||||
|
||||
cells = text_prop_position(wp, tp,
|
||||
cells = text_prop_position(wp, tp, vcol,
|
||||
(vcol + size) % (wp->w_width - col_off) + col_off,
|
||||
&n_extra, &p, NULL, NULL);
|
||||
#ifdef FEAT_LINEBREAK
|
||||
|
Reference in New Issue
Block a user