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

pull/136045/head^2
Alex Dima 2021-10-28 17:46:56 +02:00
parent b0b05ea802
commit 174db5eb99
No known key found for this signature in database
GPG Key ID: 39563C1504FDD0C9
2 changed files with 8 additions and 0 deletions

View File

@ -68,6 +68,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",
@ -86,6 +88,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",

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",