diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-11-07 11:17:55 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-07 11:17:55 +0000 |
commit | f3fe6561c00a07a7d6131db42983cbc3eb658957 (patch) | |
tree | 20c65631e8c3d0ab94e5bcaeae54258687a7105f /xtask | |
parent | 1b147306b47bb869a048c510f40083387d4dfe27 (diff) | |
parent | 6959cb045ca2ac2bfe87c5408cba4da257716d02 (diff) |
Merge #6491
6491: Textmate grammar: allow variables to terminate ranges r=dustypomerleau a=dustypomerleau
Variables were originally designed not to match after a dot, in order to avoid matching struct field access, however this resulted in variables that end ranges not being highlighted. In order to fix this we match a preceding dot, only if it's preceded by at least one other dot. Attempting to match on `(\.{2,})?` won't work, because the optional group allows struct field access to match even when one dot is present.
Co-authored-by: Dusty Pomerleau <[email protected]>
Diffstat (limited to 'xtask')
0 files changed, 0 insertions, 0 deletions