0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.1-190

This commit is contained in:
Bram Moolenaar
2008-01-03 12:20:39 +00:00
parent 913626cedb
commit a045324992
2 changed files with 8 additions and 0 deletions

View 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