forked from aniani/vim
updated for version 7.3.374
Problem: ++encoding does not work properly. Solution: Recognize ++encoding before ++enc. (Charles Cooper)
This commit is contained in:
@@ -4840,12 +4840,10 @@ getargopt(eap)
|
|||||||
#ifdef FEAT_MBYTE
|
#ifdef FEAT_MBYTE
|
||||||
else if (STRNCMP(arg, "enc", 3) == 0)
|
else if (STRNCMP(arg, "enc", 3) == 0)
|
||||||
{
|
{
|
||||||
arg += 3;
|
if (STRNCMP(arg, "encoding", 8) == 0)
|
||||||
pp = &eap->force_enc;
|
|
||||||
}
|
|
||||||
else if (STRNCMP(arg, "encoding", 8) == 0)
|
|
||||||
{
|
|
||||||
arg += 8;
|
arg += 8;
|
||||||
|
else
|
||||||
|
arg += 3;
|
||||||
pp = &eap->force_enc;
|
pp = &eap->force_enc;
|
||||||
}
|
}
|
||||||
else if (STRNCMP(arg, "bad", 3) == 0)
|
else if (STRNCMP(arg, "bad", 3) == 0)
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
374,
|
||||||
/**/
|
/**/
|
||||||
373,
|
373,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user