aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_test
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-11-07 11:17:55 +0000
committerGitHub <[email protected]>2020-11-07 11:17:55 +0000
commitf3fe6561c00a07a7d6131db42983cbc3eb658957 (patch)
tree20c65631e8c3d0ab94e5bcaeae54258687a7105f /crates/proc_macro_test
parent1b147306b47bb869a048c510f40083387d4dfe27 (diff)
parent6959cb045ca2ac2bfe87c5408cba4da257716d02 (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 'crates/proc_macro_test')
0 files changed, 0 insertions, 0 deletions