From 56a40fea9c28f8fc918a0db6de4c048da241cf32 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 6 Dec 2022 14:17:57 +0000 Subject: patch 9.0.1019: 'smoothscroll' and virtual text above don't work together Problem: 'smoothscroll' and virtual text above don't work together. (Yee Cheng Chin) Solution: Skip virtual text above when w_skipcol is non-zero. (closes #11665) --- src/charset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/charset.c') diff --git a/src/charset.c b/src/charset.c index 7ae15b30d3..d9609f4f43 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1195,7 +1195,7 @@ win_lbr_chartabsize( cells = text_prop_position(wp, tp, vcol, (vcol + size) % (wp->w_width - col_off) + col_off, - &n_extra, &p, NULL, NULL); + &n_extra, &p, NULL, NULL, FALSE); #ifdef FEAT_LINEBREAK no_sbr = TRUE; // don't use 'showbreak' now #endif -- cgit v1.2.3