Fixes #134662: Configure strings and comments embedded in template expressions to be identified as strings and comments

This commit is contained in:
Alex Dima
2021-10-28 17:46:56 +02:00
parent b0b05ea802
commit 174db5eb99
2 changed files with 8 additions and 0 deletions

View File

@@ -60,6 +60,8 @@
"path": "./syntaxes/TypeScript.tmLanguage.json",
"tokenTypes": {
"meta.template.expression": "other",
"meta.template.expression string": "string",
"meta.template.expression comment": "comment",
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template": "other",
"meta.import string.quoted": "other",
@@ -78,6 +80,8 @@
},
"tokenTypes": {
"meta.template.expression": "other",
"meta.template.expression string": "string",
"meta.template.expression comment": "comment",
"entity.name.type.instance.jsdoc": "other",
"entity.name.function.tagged-template": "other",
"meta.import string.quoted": "other",