]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-190 v7.1.190
authorBram Moolenaar <Bram@vim.org>
Thu, 3 Jan 2008 12:20:39 +0000 (12:20 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 3 Jan 2008 12:20:39 +0000 (12:20 +0000)
src/normal.c
src/version.c

index d1be629527c13d6f479bf6fde57cfe127a59f9d5..f5b76514b1591bc61330c41da2062e2fe03fc17c 100644 (file)
@@ -6564,6 +6564,12 @@ nv_brace(cap)
        clearopbeep(cap->oap);
     else
     {
+       /* Don't leave the cursor on the NUL past a line */
+       if (curwin->w_cursor.col > 0 && gchar_cursor() == NUL)
+       {
+           --curwin->w_cursor.col;
+           cap->oap->inclusive = TRUE;
+       }
 #ifdef FEAT_VIRTUALEDIT
        curwin->w_cursor.coladd = 0;
 #endif
index 4459e5fce412e20a696c8a5fb6c3db3bd55dc524..9e3cff6385a6d4f483b6dfe2b8526300db4afaee 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    190,
 /**/
     189,
 /**/