From: Bram Moolenaar Date: Thu, 3 Jan 2008 12:20:39 +0000 (+0000) Subject: updated for version 7.1-190 X-Git-Tag: v7.1.190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a045324992492294c198a75719fc9f05ca3efc35;p=vim updated for version 7.1-190 --- diff --git a/src/normal.c b/src/normal.c index d1be62952..f5b76514b 100644 --- a/src/normal.c +++ b/src/normal.c @@ -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 diff --git a/src/version.c b/src/version.c index 4459e5fce..9e3cff638 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 190, /**/ 189, /**/