mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
allow variables to terminate ranges
This commit is contained in:
parent
1b147306b4
commit
6959cb045c
@ -1127,7 +1127,7 @@
|
||||
{
|
||||
"comment": "variables",
|
||||
"name": "variable.other.rust",
|
||||
"match": "\\b(?<!\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b"
|
||||
"match": "\\b(?<!(?<!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user