patch 9.0.0515: virtual text highlight starts too early when 'number' is set
Problem: Virtual text highlight starts too early when 'number' is set.
Solution: Set column offset when wrapping. (issue #11138)
diff --git a/src/drawline.c b/src/drawline.c
index d958e7a..aa75190 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -376,6 +376,9 @@
else
before = 0;
}
+ else if (below && before > 0)
+ // include 'number' column et al.
+ col_off = win_col_off(wp) + win_col_off2(wp);
}
// With 'nowrap' add one to show the "extends" character if needed (it