0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 9.0.0215: not passing APC_INDENT flag

Problem:    Not passing APC_INDENT flag.
Solution:   Pass the flag where it's needed.
This commit is contained in:
Bram Moolenaar
2022-08-15 16:29:37 +01:00
parent d8d4cfcb39
commit 8a77d208ff
2 changed files with 4 additions and 1 deletions

View File

@@ -797,7 +797,8 @@ set_indent(
// the old indent, when decreasing indent it behaves like spaces // the old indent, when decreasing indent it behaves like spaces
// were deleted at the new indent. // were deleted at the new indent.
adjust_prop_columns(curwin->w_cursor.lnum, 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 #endif
retval = TRUE; retval = TRUE;

View File

@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
215,
/**/ /**/
214, 214,
/**/ /**/