提交 fb0d022d 编写于 作者: R Rob Lourens

Fix PHP colorization test from #65649

上级 509d693a
[
{
[{
"c": "<",
"t": "text.html.php meta.embedded.block.html meta.tag.metadata.script.start.html punctuation.definition.tag.begin.html",
"r": {
......@@ -66,41 +65,19 @@
}
},
{
"c": "<",
"t": "text.html.php meta.embedded.block.html source.js keyword.operator.relational.js",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4"
}
},
{
"c": "?",
"t": "text.html.php meta.embedded.block.html source.js keyword.operator.ternary.js",
"c": "<?php",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php punctuation.section.embedded.begin.php",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4"
}
},
{
"c": "php",
"t": "text.html.php meta.embedded.block.html source.js variable.other.readwrite.js",
"r": {
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "variable: #9CDCFE"
"dark_plus": "punctuation.section.embedded.begin.php: #569CD6",
"light_plus": "punctuation.section.embedded.begin.php: #800000",
"dark_vs": "punctuation.section.embedded.begin.php: #569CD6",
"light_vs": "punctuation.section.embedded.begin.php: #800000",
"hc_black": "punctuation.section.embedded: #569CD6"
}
},
{
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -111,18 +88,18 @@
},
{
"c": "foreach",
"t": "text.html.php meta.embedded.block.html source.js meta.function-call.js entity.name.function.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.control.foreach.php",
"r": {
"dark_plus": "entity.name.function: #DCDCAA",
"light_plus": "entity.name.function: #795E26",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "entity.name.function: #DCDCAA"
"dark_plus": "keyword.control: #C586C0",
"light_plus": "keyword.control: #AF00DB",
"dark_vs": "keyword.control: #569CD6",
"light_vs": "keyword.control: #0000FF",
"hc_black": "keyword.control: #C586C0"
}
},
{
"c": "(",
"t": "text.html.php meta.embedded.block.html source.js meta.brace.round.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.definition.begin.bracket.round.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -132,8 +109,19 @@
}
},
{
"c": "$actID",
"t": "text.html.php meta.embedded.block.html source.js variable.other.readwrite.js",
"c": "$",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php punctuation.definition.variable.php",
"r": {
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "variable: #9CDCFE"
}
},
{
"c": "actID",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php",
"r": {
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
......@@ -144,7 +132,7 @@
},
{
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -155,18 +143,18 @@
},
{
"c": "AS",
"t": "text.html.php meta.embedded.block.html source.js variable.other.constant.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.operator.logical.php",
"r": {
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "variable: #9CDCFE"
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4"
}
},
{
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -176,8 +164,19 @@
}
},
{
"c": "$act",
"t": "text.html.php meta.embedded.block.html source.js variable.other.readwrite.js",
"c": "$",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php punctuation.definition.variable.php",
"r": {
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "variable: #9CDCFE"
}
},
{
"c": "act",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php",
"r": {
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
......@@ -188,7 +187,7 @@
},
{
"c": ")",
"t": "text.html.php meta.embedded.block.html source.js meta.brace.round.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.definition.end.bracket.round.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -199,7 +198,7 @@
},
{
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -210,7 +209,18 @@
},
{
"c": "{",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js punctuation.definition.block.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.definition.begin.bracket.curly.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "meta.embedded: #FFFFFF"
}
},
{
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -220,8 +230,19 @@
}
},
{
"c": " echo ",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js",
"c": "echo",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php support.function.construct.output.php",
"r": {
"dark_plus": "support.function: #DCDCAA",
"light_plus": "support.function: #795E26",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "support.function: #DCDCAA"
}
},
{
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
......@@ -232,7 +253,7 @@
},
{
"c": "'",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js punctuation.definition.string.begin.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.begin.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -243,7 +264,7 @@
},
{
"c": "divNames.push(",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -254,7 +275,7 @@
},
{
"c": "\\'",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js constant.character.escape.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php constant.character.escape.php",
"r": {
"dark_plus": "constant.character.escape: #D7BA7D",
"light_plus": "constant.character.escape: #FF0000",
......@@ -265,7 +286,7 @@
},
{
"c": "[nid=",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -276,7 +297,7 @@
},
{
"c": "'",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js punctuation.definition.string.end.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.end.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -286,19 +307,52 @@
}
},
{
"c": ".$act.",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
"c": ".",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.operator.string.php",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4"
}
},
{
"c": "$",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php punctuation.definition.variable.php",
"r": {
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "variable: #9CDCFE"
}
},
{
"c": "act",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php variable.other.php",
"r": {
"dark_plus": "meta.object-literal.key: #9CDCFE",
"light_plus": "meta.object-literal.key: #001080",
"dark_plus": "variable: #9CDCFE",
"light_plus": "variable: #001080",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "meta.object-literal.key: #9CDCFE"
"hc_black": "variable: #9CDCFE"
}
},
{
"c": ".",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php keyword.operator.string.php",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4"
}
},
{
"c": "'",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js punctuation.definition.string.begin.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.begin.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -309,7 +363,7 @@
},
{
"c": "]",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -320,7 +374,7 @@
},
{
"c": "\\'",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js constant.character.escape.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php constant.character.escape.php",
"r": {
"dark_plus": "constant.character.escape: #D7BA7D",
"light_plus": "constant.character.escape: #FF0000",
......@@ -331,7 +385,7 @@
},
{
"c": ");",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -342,7 +396,7 @@
},
{
"c": "'",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js string.quoted.single.js punctuation.definition.string.end.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php string.quoted.single.php punctuation.definition.string.end.php",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string: #A31515",
......@@ -353,57 +407,134 @@
},
{
"c": ";",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.terminator.expression.php",
"r": {
"dark_plus": "meta.object-literal.key: #9CDCFE",
"light_plus": "meta.object-literal.key: #001080",
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "meta.object-literal.key: #9CDCFE"
"hc_black": "meta.embedded: #FFFFFF"
}
},
{
"c": " }",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.object-literal.key: #9CDCFE",
"light_plus": "meta.object-literal.key: #001080",
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "meta.object-literal.key: #9CDCFE"
"hc_black": "meta.embedded: #FFFFFF"
}
},
{
"c": " ?>",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
"c": "}",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php punctuation.definition.end.bracket.curly.php",
"r": {
"dark_plus": "meta.object-literal.key: #9CDCFE",
"light_plus": "meta.object-literal.key: #001080",
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "meta.object-literal.key: #9CDCFE"
"hc_black": "meta.embedded: #FFFFFF"
}
},
{
"c": " ...",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php source.php",
"r": {
"dark_plus": "meta.object-literal.key: #9CDCFE",
"light_plus": "meta.object-literal.key: #001080",
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "meta.object-literal.key: #9CDCFE"
"hc_black": "meta.embedded: #FFFFFF"
}
},
{
"c": "?",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php punctuation.section.embedded.end.php source.php",
"r": {
"dark_plus": "punctuation.section.embedded.end.php: #569CD6",
"light_plus": "punctuation.section.embedded.end.php: #800000",
"dark_vs": "punctuation.section.embedded.end.php: #569CD6",
"light_vs": "punctuation.section.embedded.end.php: #800000",
"hc_black": "punctuation.section.embedded: #569CD6"
}
},
{
"c": "</script>",
"t": "text.html.php meta.embedded.block.html source.js meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
"c": ">",
"t": "text.html.php meta.embedded.block.html source.js meta.embedded.block.php punctuation.section.embedded.end.php",
"r": {
"dark_plus": "meta.object-literal.key: #9CDCFE",
"light_plus": "meta.object-literal.key: #001080",
"dark_plus": "punctuation.section.embedded.end.php: #569CD6",
"light_plus": "punctuation.section.embedded.end.php: #800000",
"dark_vs": "punctuation.section.embedded.end.php: #569CD6",
"light_vs": "punctuation.section.embedded.end.php: #800000",
"hc_black": "punctuation.section.embedded: #569CD6"
}
},
{
"c": " ",
"t": "text.html.php meta.embedded.block.html source.js",
"r": {
"dark_plus": "meta.embedded: #D4D4D4",
"light_plus": "meta.embedded: #000000",
"dark_vs": "meta.embedded: #D4D4D4",
"light_vs": "meta.embedded: #000000",
"hc_black": "meta.object-literal.key: #9CDCFE"
"hc_black": "meta.embedded: #FFFFFF"
}
},
{
"c": "...",
"t": "text.html.php meta.embedded.block.html source.js keyword.operator.spread.js",
"r": {
"dark_plus": "keyword.operator: #D4D4D4",
"light_plus": "keyword.operator: #000000",
"dark_vs": "keyword.operator: #D4D4D4",
"light_vs": "keyword.operator: #000000",
"hc_black": "keyword.operator: #D4D4D4"
}
},
{
"c": "<",
"t": "text.html.php meta.embedded.block.html meta.tag.metadata.script.end.html punctuation.definition.tag.begin.html source.js",
"r": {
"dark_plus": "punctuation.definition.tag: #808080",
"light_plus": "punctuation.definition.tag: #800000",
"dark_vs": "punctuation.definition.tag: #808080",
"light_vs": "punctuation.definition.tag: #800000",
"hc_black": "punctuation.definition.tag: #808080"
}
},
{
"c": "/",
"t": "text.html.php meta.embedded.block.html meta.tag.metadata.script.end.html punctuation.definition.tag.begin.html",
"r": {
"dark_plus": "punctuation.definition.tag: #808080",
"light_plus": "punctuation.definition.tag: #800000",
"dark_vs": "punctuation.definition.tag: #808080",
"light_vs": "punctuation.definition.tag: #800000",
"hc_black": "punctuation.definition.tag: #808080"
}
},
{
"c": "script",
"t": "text.html.php meta.embedded.block.html meta.tag.metadata.script.end.html entity.name.tag.html",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
"dark_vs": "entity.name.tag: #569CD6",
"light_vs": "entity.name.tag: #800000",
"hc_black": "entity.name.tag: #569CD6"
}
},
{
"c": ">",
"t": "text.html.php meta.embedded.block.html meta.tag.metadata.script.end.html punctuation.definition.tag.end.html",
"r": {
"dark_plus": "punctuation.definition.tag: #808080",
"light_plus": "punctuation.definition.tag: #800000",
"dark_vs": "punctuation.definition.tag: #808080",
"light_vs": "punctuation.definition.tag: #800000",
"hc_black": "punctuation.definition.tag: #808080"
}
}
]
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册