We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24e932a + d36f263 commit a553a3fCopy full SHA for a553a3f
Rust.JSON-tmLanguage
@@ -5,7 +5,7 @@
5
"foldingStopMarker": "^\\s*\\}",
6
"patterns": [
7
{"name": "variable.other.source.rust",
8
- "match": "'[a-zA-Z_][a-zA-Z0-9_]*[^\\']"
+ "match": "'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])"
9
},
10
{"name": "string.quoted.single.source.rust",
11
"begin": "'",
Rust.tmLanguage
@@ -17,7 +17,7 @@
17
<array>
18
<dict>
19
<key>match</key>
20
- <string>'[a-zA-Z_][a-zA-Z0-9_]*[^\']</string>
+ <string>'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])</string>
21
<key>name</key>
22
<string>variable.other.source.rust</string>
23
</dict>
0 commit comments