mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.3273: autocmd test fails
Problem: Autocmd test fails. Solution: Require white space before the "{" that starts a block.
This commit is contained in:
parent
e041dde7bb
commit
1321257317
@ -901,7 +901,7 @@ get_function_body(
|
|||||||
end = p + STRLEN(p) - 1;
|
end = p + STRLEN(p) - 1;
|
||||||
while (end > p && VIM_ISWHITE(*end))
|
while (end > p && VIM_ISWHITE(*end))
|
||||||
--end;
|
--end;
|
||||||
if (end > p && *end == '{')
|
if (end > p + 1 && *end == '{' && VIM_ISWHITE(end[-1]))
|
||||||
{
|
{
|
||||||
int is_block;
|
int is_block;
|
||||||
|
|
||||||
|
@ -755,6 +755,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 */
|
||||||
|
/**/
|
||||||
|
3273,
|
||||||
/**/
|
/**/
|
||||||
3272,
|
3272,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user