updated for version 7.3.351
Problem: Text formatting uses start of insert position when it should not.
(Peter Wagenaar)
Solution: Do not use Insstart when intentionally formatting.
diff --git a/src/edit.c b/src/edit.c
index 913a488..0c28e06 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -6078,6 +6078,7 @@
* Stop at first entered white when 'formatoptions' has 'v'
*/
while ((!fo_ins_blank && !has_format_option(FO_INS_VI))
+ || (flags & INSCHAR_FORMAT)
|| curwin->w_cursor.lnum != Insstart.lnum
|| curwin->w_cursor.col >= Insstart.col)
{
diff --git a/src/version.c b/src/version.c
index 4ce9a6d..e01db7a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 351,
+/**/
350,
/**/
349,