mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.1-286
This commit is contained in:
@@ -8345,6 +8345,7 @@ nv_wordcmd(cap)
|
|||||||
int n;
|
int n;
|
||||||
int word_end;
|
int word_end;
|
||||||
int flag = FALSE;
|
int flag = FALSE;
|
||||||
|
pos_T startpos = curwin->w_cursor;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set inclusive for the "E" and "e" command.
|
* Set inclusive for the "E" and "e" command.
|
||||||
@@ -8405,8 +8406,9 @@ nv_wordcmd(cap)
|
|||||||
else
|
else
|
||||||
n = fwd_word(cap->count1, cap->arg, cap->oap->op_type != OP_NOP);
|
n = fwd_word(cap->count1, cap->arg, cap->oap->op_type != OP_NOP);
|
||||||
|
|
||||||
/* Don't leave the cursor on the NUL past the end of line. */
|
/* Don't leave the cursor on the NUL past the end of line. Unless we
|
||||||
if (n != FAIL)
|
* didn't move it forward. */
|
||||||
|
if (lt(startpos, curwin->w_cursor))
|
||||||
adjust_cursor(cap->oap);
|
adjust_cursor(cap->oap);
|
||||||
|
|
||||||
if (n == FAIL && cap->oap->op_type == OP_NOP)
|
if (n == FAIL && cap->oap->op_type == OP_NOP)
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
286,
|
||||||
/**/
|
/**/
|
||||||
285,
|
285,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user