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