]> granicus.if.org Git - vim/commitdiff
patch 9.0.0215: not passing APC_INDENT flag v9.0.0215
authorBram Moolenaar <Bram@vim.org>
Mon, 15 Aug 2022 15:29:37 +0000 (16:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 15 Aug 2022 15:29:37 +0000 (16:29 +0100)
Problem:    Not passing APC_INDENT flag.
Solution:   Pass the flag where it's needed.

src/indent.c
src/version.c

index d941abc0bc817027340bc08eb000f74f2664018f..d7a2e550ad54d57a63a86537563002441b2c8c59 100644 (file)
@@ -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;
index e8b4c9f02760fee006d5a33d51a81108ab6a8b8a..f08f6173afd157ce3f56ea1f9884d951b9de4a88 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    215,
 /**/
     214,
 /**/