summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-15 16:29:37 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-15 16:29:37 +0100
commit8a77d208ff580b231ffacf4202dc3a6ce171087f (patch)
tree907183c2ce40f8df1095664522f2c56438910e44
parentd8d4cfcb393123fa19640be0806091d47935407f (diff)
patch 9.0.0215: not passing APC_INDENT flagv9.0.0215
Problem: Not passing APC_INDENT flag. Solution: Pass the flag where it's needed.
-rw-r--r--src/indent.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index d941abc0bc..d7a2e550ad 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 e8b4c9f027..f08f6173af 100644
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 215,
+/**/
214,
/**/
213,