Mark inline js expressions in js with language javascript

Fixes #20874
This commit is contained in:
Matt Bierner
2017-09-18 14:32:45 -07:00
parent 890d41f7fa
commit 761d23b04c
2 changed files with 8 additions and 5 deletions

View File

@@ -77,7 +77,8 @@
"path": "./syntaxes/TypeScriptReact.tmLanguage.json",
"embeddedLanguages": {
"meta.tag.tsx": "jsx-tags",
"meta.tag.without-attributes.tsx": "jsx-tags"
"meta.tag.without-attributes.tsx": "jsx-tags",
"meta.embedded.expression.tsx": "typescriptreact"
}
}
],
@@ -564,4 +565,4 @@
}
]
}
}
}