From: Bram Moolenaar Date: Sat, 9 Nov 2019 23:19:12 +0000 (+0100) Subject: patch 8.1.2283: missed on use of p_sbr X-Git-Tag: v8.1.2283 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91e22eb6e09ec384496fccde812072033fd9e616;p=vim patch 8.1.2283: missed on use of p_sbr Problem: Missed on use of p_sbr. Solution: Add missing p_sbr change. --- diff --git a/src/indent.c b/src/indent.c index 4abe05b2d..755c3a9e4 100644 --- a/src/indent.c +++ b/src/indent.c @@ -887,7 +887,7 @@ get_breakindent_win( // indent minus the length of the showbreak string if (wp->w_p_brisbr) - bri -= vim_strsize(p_sbr); + bri -= vim_strsize(get_showbreak_value(wp)); // Add offset for number column, if 'n' is in 'cpoptions' bri += win_col_off2(wp); diff --git a/src/version.c b/src/version.c index 9d2025f3a..d8eedea52 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2283, /**/ 2282, /**/