From: Bram Moolenaar Date: Mon, 15 Aug 2022 15:29:37 +0000 (+0100) Subject: patch 9.0.0215: not passing APC_INDENT flag X-Git-Tag: v9.0.0215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a77d208ff580b231ffacf4202dc3a6ce171087f;p=vim patch 9.0.0215: not passing APC_INDENT flag Problem: Not passing APC_INDENT flag. Solution: Pass the flag where it's needed. --- diff --git a/src/indent.c b/src/indent.c index d941abc0b..d7a2e550a 100644 --- a/src/indent.c +++ b/src/indent.c @@ -797,7 +797,8 @@ set_indent( // the old indent, when decreasing indent it behaves like spaces // were deleted at the new indent. adjust_prop_columns(curwin->w_cursor.lnum, - added > 0 ? old_offset : (colnr_T)ind_len, added, 0); + added > 0 ? old_offset : (colnr_T)ind_len, + added, APC_INDENT); } #endif retval = TRUE; diff --git a/src/version.c b/src/version.c index e8b4c9f02..f08f6173a 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 215, /**/ 214, /**/