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" "meta.embedded.expression.js": "javascriptreact"
}, },
"tokenTypes": { "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" "meta.embedded.expression.js": "javascript"
}, },
"tokenTypes": { "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", "scopeName": "source.ts",
"path": "./syntaxes/TypeScript.tmLanguage.json", "path": "./syntaxes/TypeScript.tmLanguage.json",
"tokenTypes": { "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" "meta.embedded.expression.tsx": "typescriptreact"
}, },
"tokenTypes": { "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"
} }
} }
], ],