diff --git a/extensions/javascript/syntaxes/JavaScript.tmLanguage b/extensions/javascript/syntaxes/JavaScript.tmLanguage
index 5092179c69b..0a59bccde92 100644
--- a/extensions/javascript/syntaxes/JavaScript.tmLanguage
+++ b/extensions/javascript/syntaxes/JavaScript.tmLanguage
@@ -193,7 +193,7 @@
control-statement
match
- (?<!\.)\b(break|catch|continue|debugger|declare|do|else|finally|for|if|return|switch|throw|try|while|with|super|case|default)\b
+ (?<!\.)\b(break|catch|continue|debugger|declare|do|else|finally|for|if|return|switch|throw|try|while|with|super|case|default|yield)\b
name
keyword.control.js
@@ -1815,6 +1815,110 @@
+ ternary-expression
+
+ begin
+ (?=\?)
+ end
+ (?=$|[;,])
+ patterns
+
+
+ include
+ #ternary-operator
+
+
+ include
+ #ternary-expression-type
+
+
+
+ ternary-expression-type
+
+ name
+ meta.expression.js
+ patterns
+
+
+ include
+ #string
+
+
+ include
+ #regex
+
+
+ include
+ #template
+
+
+ include
+ #comment
+
+
+ include
+ #literal
+
+
+ include
+ #paren-expression
+
+
+ include
+ #ternary-expression
+
+
+ include
+ #import-operator
+
+
+ include
+ #expression-operator
+
+
+ include
+ #imply-operator
+
+
+ include
+ #relational-operator
+
+
+ include
+ #arithmetic-operator
+
+
+ include
+ #logic-operator
+
+
+ include
+ #assignment-operator
+
+
+ include
+ #type-primitive
+
+
+ include
+ #function-call
+
+
+
+ ternary-operator
+
+ begin
+ (\?)
+ end
+ (:)
+ patterns
+
+
+ include
+ #ternary-expression-type
+
+
+
this-literal
match
@@ -2206,6 +2310,10 @@
meta.var-single-variable.expr.js
patterns
+
+ include
+ #ternary-expression
+
include
#type-annotation
diff --git a/extensions/typescript/syntaxes/TypeScript.tmLanguage b/extensions/typescript/syntaxes/TypeScript.tmLanguage
index aedac611809..890815f0e05 100644
--- a/extensions/typescript/syntaxes/TypeScript.tmLanguage
+++ b/extensions/typescript/syntaxes/TypeScript.tmLanguage
@@ -224,7 +224,7 @@
control-statement
match
- (?<!\.)\b(break|catch|continue|debugger|declare|do|else|finally|for|if|return|switch|throw|try|while|with|super|case|default)\b
+ (?<!\.)\b(break|catch|continue|debugger|declare|do|else|finally|for|if|return|switch|throw|try|while|with|super|case|default|yield)\b
name
keyword.control.ts
@@ -1448,6 +1448,110 @@
+ ternary-expression
+
+ begin
+ (?=\?)
+ end
+ (?=$|[;,])
+ patterns
+
+
+ include
+ #ternary-operator
+
+
+ include
+ #ternary-expression-type
+
+
+
+ ternary-expression-type
+
+ name
+ meta.expression.ts
+ patterns
+
+
+ include
+ #string
+
+
+ include
+ #regex
+
+
+ include
+ #template
+
+
+ include
+ #comment
+
+
+ include
+ #literal
+
+
+ include
+ #paren-expression
+
+
+ include
+ #ternary-expression
+
+
+ include
+ #import-operator
+
+
+ include
+ #expression-operator
+
+
+ include
+ #imply-operator
+
+
+ include
+ #relational-operator
+
+
+ include
+ #arithmetic-operator
+
+
+ include
+ #logic-operator
+
+
+ include
+ #assignment-operator
+
+
+ include
+ #type-primitive
+
+
+ include
+ #function-call
+
+
+
+ ternary-operator
+
+ begin
+ (\?)
+ end
+ (:)
+ patterns
+
+
+ include
+ #ternary-expression-type
+
+
+
this-literal
match
@@ -1839,6 +1943,10 @@
meta.var-single-variable.expr.ts
patterns
+
+ include
+ #ternary-expression
+
include
#type-annotation
diff --git a/extensions/typescript/syntaxes/TypeScriptReact.tmLanguage b/extensions/typescript/syntaxes/TypeScriptReact.tmLanguage
index e7dcfe7efb3..b9d77e3f52b 100644
--- a/extensions/typescript/syntaxes/TypeScriptReact.tmLanguage
+++ b/extensions/typescript/syntaxes/TypeScriptReact.tmLanguage
@@ -192,7 +192,7 @@
control-statement
match
- (?<!\.)\b(break|catch|continue|debugger|declare|do|else|finally|for|if|return|switch|throw|try|while|with|super|case|default)\b
+ (?<!\.)\b(break|catch|continue|debugger|declare|do|else|finally|for|if|return|switch|throw|try|while|with|super|case|default|yield)\b
name
keyword.control.tsx
@@ -1814,6 +1814,110 @@
+ ternary-expression
+
+ begin
+ (?=\?)
+ end
+ (?=$|[;,])
+ patterns
+
+
+ include
+ #ternary-operator
+
+
+ include
+ #ternary-expression-type
+
+
+
+ ternary-expression-type
+
+ name
+ meta.expression.tsx
+ patterns
+
+
+ include
+ #string
+
+
+ include
+ #regex
+
+
+ include
+ #template
+
+
+ include
+ #comment
+
+
+ include
+ #literal
+
+
+ include
+ #paren-expression
+
+
+ include
+ #ternary-expression
+
+
+ include
+ #import-operator
+
+
+ include
+ #expression-operator
+
+
+ include
+ #imply-operator
+
+
+ include
+ #relational-operator
+
+
+ include
+ #arithmetic-operator
+
+
+ include
+ #logic-operator
+
+
+ include
+ #assignment-operator
+
+
+ include
+ #type-primitive
+
+
+ include
+ #function-call
+
+
+
+ ternary-operator
+
+ begin
+ (\?)
+ end
+ (:)
+ patterns
+
+
+ include
+ #ternary-expression-type
+
+
+
this-literal
match
@@ -2205,6 +2309,10 @@
meta.var-single-variable.expr.tsx
patterns
+
+ include
+ #ternary-expression
+
include
#type-annotation
diff --git a/extensions/typescript/test/colorize-results/test-issue5431_ts.json b/extensions/typescript/test/colorize-results/test-issue5431_ts.json
index 9e6fb81b887..68fd08759bb 100644
--- a/extensions/typescript/test/colorize-results/test-issue5431_ts.json
+++ b/extensions/typescript/test/colorize-results/test-issue5431_ts.json
@@ -220,7 +220,7 @@
}
},
{
- "c": " ",
+ "c": " : ",
"t": "block.decl.expr.function.meta.ts.var.var-single-variable",
"r": {
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
@@ -231,41 +231,30 @@
}
},
{
- "c": ": `",
- "t": "annotation.block.decl.expr.function.meta.ts.type.var.var-single-variable",
+ "c": "`",
+ "t": "block.decl.expr.function.meta.string.template.ts.var.var-single-variable",
"r": {
- "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.type.annotation rgb(78, 201, 176)",
- "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.type.annotation rgb(38, 127, 153)",
- "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
- "light_vs": ".vs .token rgb(0, 0, 0)",
- "hc_black": ".hc-black .token rgb(255, 255, 255)"
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
}
},
{
- "c": "$",
- "t": "annotation.block.decl.expr.function.meta.name.ts.type.var.var-single-variable",
+ "c": "${",
+ "t": "block.decl.element.expr.function.keyword.meta.others.template.ts.var.var-single-variable",
"r": {
- "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.meta.type.annotation rgb(78, 201, 176)",
- "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.meta.type.annotation rgb(38, 127, 153)",
- "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
- "light_vs": ".vs .token rgb(0, 0, 0)",
- "hc_black": ".hc-black .token rgb(255, 255, 255)"
- }
- },
- {
- "c": "{",
- "t": "block.brace.curly.decl.expr.function.meta.ts.var.var-single-variable",
- "r": {
- "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
- "light_plus": ".vs .token rgb(0, 0, 0)",
- "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
- "light_vs": ".vs .token rgb(0, 0, 0)",
- "hc_black": ".hc-black .token rgb(255, 255, 255)"
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword rgb(86, 156, 214)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword rgb(0, 0, 255)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword rgb(86, 156, 214)"
}
},
{
"c": "startTime",
- "t": "block.decl.expr.function.meta.ts.var.var-single-variable",
+ "t": "block.decl.element.expr.function.meta.template.ts.var.var-single-variable",
"r": {
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
"light_plus": ".vs .token rgb(0, 0, 0)",
@@ -276,62 +265,40 @@
},
{
"c": "}",
- "t": "block.brace.curly.decl.expr.function.meta.ts.var.var-single-variable",
+ "t": "block.decl.element.expr.function.keyword.meta.others.template.ts.var.var-single-variable",
"r": {
- "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
- "light_plus": ".vs .token rgb(0, 0, 0)",
- "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
- "light_vs": ".vs .token rgb(0, 0, 0)",
- "hc_black": ".hc-black .token rgb(255, 255, 255)"
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword rgb(86, 156, 214)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword rgb(0, 0, 255)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword rgb(86, 156, 214)"
}
},
{
- "c": " ",
- "t": "block.decl.expr.function.meta.ts.var.var-single-variable",
+ "c": " - ",
+ "t": "block.decl.expr.function.meta.string.template.ts.var.var-single-variable",
"r": {
- "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
- "light_plus": ".vs .token rgb(0, 0, 0)",
- "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
- "light_vs": ".vs .token rgb(0, 0, 0)",
- "hc_black": ".hc-black .token rgb(255, 255, 255)"
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
}
},
{
- "c": "-",
- "t": "arithmetic.block.decl.expr.function.keyword.meta.operator.ts.var.var-single-variable",
+ "c": "${",
+ "t": "block.decl.element.expr.function.keyword.meta.others.template.ts.var.var-single-variable",
"r": {
- "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator rgb(212, 212, 212)",
- "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator rgb(0, 0, 0)",
- "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator rgb(212, 212, 212)",
- "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator rgb(0, 0, 0)",
- "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator rgb(212, 212, 212)"
- }
- },
- {
- "c": " $",
- "t": "block.decl.expr.function.meta.ts.var.var-single-variable",
- "r": {
- "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
- "light_plus": ".vs .token rgb(0, 0, 0)",
- "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
- "light_vs": ".vs .token rgb(0, 0, 0)",
- "hc_black": ".hc-black .token rgb(255, 255, 255)"
- }
- },
- {
- "c": "{",
- "t": "block.brace.curly.decl.expr.function.meta.ts.var.var-single-variable",
- "r": {
- "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
- "light_plus": ".vs .token rgb(0, 0, 0)",
- "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
- "light_vs": ".vs .token rgb(0, 0, 0)",
- "hc_black": ".hc-black .token rgb(255, 255, 255)"
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword rgb(86, 156, 214)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword rgb(0, 0, 255)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword rgb(86, 156, 214)"
}
},
{
"c": "endTime",
- "t": "block.decl.expr.function.meta.ts.var.var-single-variable",
+ "t": "block.decl.element.expr.function.meta.template.ts.var.var-single-variable",
"r": {
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
"light_plus": ".vs .token rgb(0, 0, 0)",
@@ -342,7 +309,29 @@
},
{
"c": "}",
- "t": "block.brace.curly.decl.expr.function.meta.ts.var.var-single-variable",
+ "t": "block.decl.element.expr.function.keyword.meta.others.template.ts.var.var-single-variable",
+ "r": {
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword rgb(86, 156, 214)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword rgb(0, 0, 255)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword rgb(86, 156, 214)"
+ }
+ },
+ {
+ "c": "`",
+ "t": "block.decl.expr.function.meta.string.template.ts.var.var-single-variable",
+ "r": {
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
+ }
+ },
+ {
+ "c": ";",
+ "t": "block.decl.function.meta.ts",
"r": {
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
"light_plus": ".vs .token rgb(0, 0, 0)",
@@ -352,36 +341,69 @@
}
},
{
- "c": "`;",
- "t": "block.decl.expr.function.meta.string.template.ts.var.var-single-variable",
+ "c": "\t",
+ "t": "block.decl.function.meta.ts",
"r": {
- "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
- "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
- "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
- "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
- "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
+ "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
+ "light_plus": ".vs .token rgb(0, 0, 0)",
+ "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
+ "light_vs": ".vs .token rgb(0, 0, 0)",
+ "hc_black": ".hc-black .token rgb(255, 255, 255)"
}
},
{
- "c": "\treturn true;",
- "t": "block.decl.expr.function.meta.string.template.ts.var.var-single-variable",
+ "c": "return",
+ "t": "block.control.decl.function.keyword.meta.ts",
"r": {
- "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
- "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
- "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
- "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
- "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control rgb(197, 134, 192)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control rgb(175, 0, 219)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control rgb(86, 156, 214)"
+ }
+ },
+ {
+ "c": " ",
+ "t": "block.decl.function.meta.ts",
+ "r": {
+ "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
+ "light_plus": ".vs .token rgb(0, 0, 0)",
+ "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
+ "light_vs": ".vs .token rgb(0, 0, 0)",
+ "hc_black": ".hc-black .token rgb(255, 255, 255)"
+ }
+ },
+ {
+ "c": "true",
+ "t": "block.boolean.constant.decl.function.language.meta.ts",
+ "r": {
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.language rgb(86, 156, 214)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.language rgb(0, 0, 255)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.language rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.language rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.language rgb(86, 156, 214)"
+ }
+ },
+ {
+ "c": ";",
+ "t": "block.decl.function.meta.ts",
+ "r": {
+ "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
+ "light_plus": ".vs .token rgb(0, 0, 0)",
+ "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
+ "light_vs": ".vs .token rgb(0, 0, 0)",
+ "hc_black": ".hc-black .token rgb(255, 255, 255)"
}
},
{
"c": "}",
- "t": "block.decl.expr.function.meta.string.template.ts.var.var-single-variable",
+ "t": "block.brace.curly.decl.function.meta.ts",
"r": {
- "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string rgb(206, 145, 120)",
- "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string rgb(163, 21, 21)",
- "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string rgb(206, 145, 120)",
- "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string rgb(163, 21, 21)",
- "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string rgb(206, 145, 120)"
+ "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
+ "light_plus": ".vs .token rgb(0, 0, 0)",
+ "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
+ "light_vs": ".vs .token rgb(0, 0, 0)",
+ "hc_black": ".hc-black .token rgb(255, 255, 255)"
}
}
]
\ No newline at end of file
diff --git a/extensions/typescript/test/colorize-results/test-issue5465_ts.json b/extensions/typescript/test/colorize-results/test-issue5465_ts.json
index 37cb3f84ae6..c9b02481fcb 100644
--- a/extensions/typescript/test/colorize-results/test-issue5465_ts.json
+++ b/extensions/typescript/test/colorize-results/test-issue5465_ts.json
@@ -55,7 +55,29 @@
}
},
{
- "c": "\tyield ",
+ "c": "\t",
+ "t": "block.decl.function.meta.ts",
+ "r": {
+ "dark_plus": ".vs-dark .token rgb(212, 212, 212)",
+ "light_plus": ".vs .token rgb(0, 0, 0)",
+ "dark_vs": ".vs-dark .token rgb(212, 212, 212)",
+ "light_vs": ".vs .token rgb(0, 0, 0)",
+ "hc_black": ".hc-black .token rgb(255, 255, 255)"
+ }
+ },
+ {
+ "c": "yield",
+ "t": "block.control.decl.function.keyword.meta.ts",
+ "r": {
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control rgb(197, 134, 192)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control rgb(175, 0, 219)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control rgb(86, 156, 214)"
+ }
+ },
+ {
+ "c": " ",
"t": "block.decl.function.meta.ts",
"r": {
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
@@ -88,7 +110,7 @@
}
},
{
- "c": "\tyield",
+ "c": "\t",
"t": "block.decl.function.meta.ts",
"r": {
"dark_plus": ".vs-dark .token rgb(212, 212, 212)",
@@ -98,6 +120,17 @@
"hc_black": ".hc-black .token rgb(255, 255, 255)"
}
},
+ {
+ "c": "yield",
+ "t": "block.control.decl.function.keyword.meta.ts",
+ "r": {
+ "dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control rgb(197, 134, 192)",
+ "light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control rgb(175, 0, 219)",
+ "dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control rgb(86, 156, 214)",
+ "light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control rgb(0, 0, 255)",
+ "hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control rgb(86, 156, 214)"
+ }
+ },
{
"c": "*",
"t": "arithmetic.block.decl.function.keyword.meta.operator.ts",