Skip to content

Commit 6959cb0

Browse files
allow variables to terminate ranges
1 parent 1b14730 commit 6959cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/rust.tmGrammar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
{
11281128
"comment": "variables",
11291129
"name": "variable.other.rust",
1130-
"match": "\\b(?<!\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b"
1130+
"match": "\\b(?<!(?<!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b"
11311131
}
11321132
]
11331133
}

0 commit comments

Comments
 (0)