mirror of
https://github.com/neovim/neovim.git
synced 2025-10-20 00:31:49 +00:00
Syntax: skip over ]
The ported patch for 7.4.825 removed code that is needed to walk over "]" by accident. 0:52692d3cd3
1:1560d07045
Fixes #4207.
This commit is contained in:
@@ -4196,6 +4196,8 @@ static void syn_cmd_keyword(exarg_T *eap, int syncing)
|
|||||||
kw, &p[2]);
|
kw, &p[2]);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
kw = p + 1;
|
||||||
|
break; // skip over the "]"
|
||||||
}
|
}
|
||||||
if (has_mbyte) {
|
if (has_mbyte) {
|
||||||
int l = (*mb_ptr2len)(p + 1);
|
int l = (*mb_ptr2len)(p + 1);
|
||||||
|
Reference in New Issue
Block a user