mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
allow variables to terminate ranges
This commit is contained in:
parent
1b147306b4
commit
6959cb045c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue