Patch 9.0.0215

3 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 15, 2022, 11:38:41 AM8/15/22
to vim...@googlegroups.com

Patch 9.0.0215 (after 9.0.0214)
Problem: Not passing APC_INDENT flag.
Solution: Pass the flag where it's needed.
Files: src/indent.c


*** ../vim-9.0.0214/src/indent.c 2022-08-14 14:16:07.991582244 +0100
--- src/indent.c 2022-08-15 15:18:28.779620442 +0100
***************
*** 797,803 ****
// 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);
}
#endif
retval = TRUE;
--- 797,804 ----
// 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, APC_INDENT);
}
#endif
retval = TRUE;
*** ../vim-9.0.0214/src/version.c 2022-08-15 15:54:45.714375597 +0100
--- src/version.c 2022-08-15 16:29:22.992903611 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 215,
/**/

--
"A mouse can be just as dangerous as a bullet or a bomb."
(US Representative Lamar Smith, R-Texas)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages