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

@@ -67,7 +67,8 @@
"path": "./syntaxes/JavaScript.tmLanguage.json",
"embeddedLanguages": {
"meta.tag.js": "jsx-tags",
"meta.tag.without-attributes.js": "jsx-tags"
"meta.tag.without-attributes.js": "jsx-tags",
"meta.embedded.expression.js": "javascriptreact"
}
},
{
@@ -76,7 +77,8 @@
"path": "./syntaxes/JavaScript.tmLanguage.json",
"embeddedLanguages": {
"meta.tag.js": "jsx-tags",
"meta.tag.without-attributes.js": "jsx-tags"
"meta.tag.without-attributes.js": "jsx-tags",
"meta.embedded.expression.js": "javascript"
}
},
{
@@ -132,4 +134,4 @@
"devDependencies": {
"@types/node": "^7.0.4"
}
}
}