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.
diff --git a/src/charset.c b/src/charset.c
index 9ddb21d..d03f261 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1178,7 +1178,7 @@
{
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