Fix should auto trigger at ${|in js/ts template strings

Fixes #37176
This commit is contained in:
Matt Bierner 2018-03-16 15:18:14 -07:00
parent d74145ed78
commit eb2b0dfc20
2 changed files with 12 additions and 4 deletions

View file

@ -60,7 +60,9 @@
"meta.embedded.expression.js": "javascriptreact"
},
"tokenTypes": {
"entity.name.type.instance.jsdoc": "other"
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template.js": "other",
"entity.name.function.tagged-template.js.jsx": "other"
}
},
{
@ -74,7 +76,9 @@
"meta.embedded.expression.js": "javascript"
},
"tokenTypes": {
"entity.name.type.instance.jsdoc": "other"
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template.js": "other",
"entity.name.function.tagged-template.js.jsx": "other"
}
},
{

View file

@ -44,7 +44,9 @@
"scopeName": "source.ts",
"path": "./syntaxes/TypeScript.tmLanguage.json",
"tokenTypes": {
"entity.name.type.instance.jsdoc": "other"
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template.ts": "other",
"entity.name.function.tagged-template.tsx": "other"
}
},
{
@ -58,7 +60,9 @@
"meta.embedded.expression.tsx": "typescriptreact"
},
"tokenTypes": {
"entity.name.type.instance.jsdoc": "other"
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template.ts": "other",
"entity.name.function.tagged-template.tsx": "other"
}
}
],