diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-15 16:29:37 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-15 16:29:37 +0100 |
commit | 8a77d208ff580b231ffacf4202dc3a6ce171087f (patch) | |
tree | 907183c2ce40f8df1095664522f2c56438910e44 /src/indent.c | |
parent | d8d4cfcb393123fa19640be0806091d47935407f (diff) | |
download | vim-git-8a77d208ff580b231ffacf4202dc3a6ce171087f.tar.gz |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |