patch 9.0.1551: position of marker for 'smoothscroll' not computed correctly
Problem: Position of marker for 'smoothscroll' not computed correctly.
Solution: Take 'list' and other options into account. (Luuk van Baal,
closes #12393)
diff --git a/src/change.c b/src/change.c
index 8bb61ed..c0b8785 100644
--- a/src/change.c
+++ b/src/change.c
@@ -568,8 +568,8 @@
&& wp->w_topline < lnume
&& win_linetabsize(wp, wp->w_topline,
ml_get(wp->w_topline), (colnr_T)MAXCOL)
- <= wp->w_skipcol + (wp->w_p_list
- && wp->w_lcs_chars.prec ? 1 : 3))))
+ <= wp->w_skipcol + sms_marker_overlap(wp,
+ win_col_off(wp) - win_col_off2(wp)))))
wp->w_skipcol = 0;
// Check if a change in the buffer has invalidated the cached