Mercurial > vim
changeset 29750:f1f7e4e977fd v9.0.0215
patch 9.0.0215: not passing APC_INDENT flag
Commit: https://github.com/vim/vim/commit/8a77d208ff580b231ffacf4202dc3a6ce171087f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 15 16:29:37 2022 +0100
patch 9.0.0215: not passing APC_INDENT flag
Problem: Not passing APC_INDENT flag.
Solution: Pass the flag where it's needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Aug 2022 17:30:03 +0200 |
parents | aaa46739f4b9 |
children | 2bf6e39ee4c9 |
files | src/indent.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;