mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.1-184
This commit is contained in:
parent
d42107724b
commit
ad8958b188
@ -5849,12 +5849,13 @@ nv_left(cap)
|
|||||||
/* When the NL before the first char has to be deleted we
|
/* When the NL before the first char has to be deleted we
|
||||||
* put the cursor on the NUL after the previous line.
|
* put the cursor on the NUL after the previous line.
|
||||||
* This is a very special case, be careful!
|
* This is a very special case, be careful!
|
||||||
* don't adjust op_end now, otherwise it won't work */
|
* Don't adjust op_end now, otherwise it won't work. */
|
||||||
if ( (cap->oap->op_type == OP_DELETE
|
if ( (cap->oap->op_type == OP_DELETE
|
||||||
|| cap->oap->op_type == OP_CHANGE)
|
|| cap->oap->op_type == OP_CHANGE)
|
||||||
&& !lineempty(curwin->w_cursor.lnum))
|
&& !lineempty(curwin->w_cursor.lnum))
|
||||||
{
|
{
|
||||||
++curwin->w_cursor.col;
|
if (*ml_get_cursor() != NUL)
|
||||||
|
++curwin->w_cursor.col;
|
||||||
cap->retval |= CA_NO_ADJ_OP_END;
|
cap->retval |= CA_NO_ADJ_OP_END;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
184,
|
||||||
/**/
|
/**/
|
||||||
183,
|
183,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user