patch 8.1.0199: spellbadword() does not check for caps error
Problem: spellbadword() does not check for caps error. (Dominique Pelle) Solution: Adjust capcol when advancing.
This commit is contained in:
@ -11639,6 +11639,7 @@ f_spellbadword(typval_T *argvars UNUSED, typval_T *rettv)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
str += len;
|
str += len;
|
||||||
|
capcol -= len;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -789,6 +789,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 */
|
||||||
|
/**/
|
||||||
|
199,
|
||||||
/**/
|
/**/
|
||||||
198,
|
198,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user