mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.0037
This commit is contained in:
@@ -3124,13 +3124,14 @@ current_word(oap, count, include, bigword)
|
||||
return FAIL;
|
||||
if (include != (cls() == 0))
|
||||
{
|
||||
if (fwd_word(1L, bigword, TRUE) == FAIL)
|
||||
if (fwd_word(1L, bigword, TRUE) == FAIL && count > 1)
|
||||
return FAIL;
|
||||
/*
|
||||
* If end is just past a new-line, we don't want to include
|
||||
* the first character on the line
|
||||
* the first character on the line.
|
||||
* Put cursor on last char of white.
|
||||
*/
|
||||
if (oneleft() == FAIL) /* put cursor on last char of white */
|
||||
if (oneleft() == FAIL)
|
||||
inclusive = FALSE;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user