allow variables to terminate ranges

This commit is contained in:
Dusty Pomerleau 2020-11-07 22:08:29 +11:00
parent 1b147306b4
commit 6959cb045c

View file

@ -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"
}
]
}