summaryrefslogtreecommitdiffstats
path: root/src/indent.c
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 /src/indent.c
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.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c3
1 files changed, 2 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;