fix: prevent unwanted interpolation scopes

This commit is contained in:
Dusty Pomerleau 2020-10-18 13:27:03 +11:00
parent 7c4bb97145
commit 06208e622f

View File

@ -694,23 +694,15 @@
"interpolations": {
"comment": "curly brace interpolations",
"name": "meta.interpolation.rust",
"begin": "{",
"beginCaptures": {
"0": {
"match": "({)[^\"{}]*(})",
"captures": {
"1": {
"name": "punctuation.definition.interpolation.rust"
},
"2": {
"name": "punctuation.definition.interpolation.rust"
}
},
"end": "}",
"endCaptures": {
"0": {
"name": "punctuation.definition.interpolation.rust"
}
},
"patterns": [
{
"include": "#interpolations"
}
]
}
},
"lifetimes": {
"patterns": [