mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.1-103
This commit is contained in:
@@ -8364,7 +8364,7 @@ nv_wordcmd(cap)
|
||||
n = fwd_word(cap->count1, cap->arg, cap->oap->op_type != OP_NOP);
|
||||
|
||||
/* Don't leave the cursor on the NUL past a line */
|
||||
if (curwin->w_cursor.col && gchar_cursor() == NUL)
|
||||
if (n != FAIL && curwin->w_cursor.col > 0 && gchar_cursor() == NUL)
|
||||
{
|
||||
--curwin->w_cursor.col;
|
||||
cap->oap->inclusive = TRUE;
|
||||
|
Reference in New Issue
Block a user