mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
updated for version 7.3.802
Problem: After setting 'isk' to a value ending in a comma appending to the option fails. Solution: Disallow a trailing comma for 'isk' and similar options.
This commit is contained in:
@@ -284,7 +284,12 @@ buf_init_chartab(buf, global)
|
|||||||
}
|
}
|
||||||
++c;
|
++c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
c = *p;
|
||||||
p = skip_to_option_part(p);
|
p = skip_to_option_part(p);
|
||||||
|
if (c == ',' && *p == NUL)
|
||||||
|
/* Trailing comma is not allowed. */
|
||||||
|
return FAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
chartab_initialized = TRUE;
|
chartab_initialized = TRUE;
|
||||||
|
@@ -725,6 +725,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 */
|
||||||
|
/**/
|
||||||
|
802,
|
||||||
/**/
|
/**/
|
||||||
801,
|
801,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user