We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c4bb97 commit 06208e6Copy full SHA for 06208e6
editors/code/rust.tmGrammar.json
@@ -694,23 +694,15 @@
694
"interpolations": {
695
"comment": "curly brace interpolations",
696
"name": "meta.interpolation.rust",
697
- "begin": "{",
698
- "beginCaptures": {
699
- "0": {
+ "match": "({)[^\"{}]*(})",
+ "captures": {
+ "1": {
700
"name": "punctuation.definition.interpolation.rust"
701
- }
702
- },
703
- "end": "}",
704
- "endCaptures": {
705
+ },
+ "2": {
706
707
}
708
709
- "patterns": [
710
- {
711
- "include": "#interpolations"
712
713
- ]
+ }
714
},
715
"lifetimes": {
716
"patterns": [
0 commit comments