mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
even more colorizer tests
This commit is contained in:
12
extensions/lua/test/colorize-fixtures/test.lua
Normal file
12
extensions/lua/test/colorize-fixtures/test.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
-- defines a factorial function
|
||||
function fact (n)
|
||||
if n == 0 then
|
||||
return 1
|
||||
else
|
||||
return n * fact(n-1)
|
||||
end
|
||||
end
|
||||
|
||||
print("enter a number:")
|
||||
a = io.read("*number") -- read a number
|
||||
print(fact(a))
|
||||
684
extensions/lua/test/colorize-results/test_lua.json
Normal file
684
extensions/lua/test/colorize-results/test_lua.json
Normal file
@@ -0,0 +1,684 @@
|
||||
[
|
||||
{
|
||||
"c": " ",
|
||||
"t": "punctuation.whitespace.comment.leading.lua",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "--",
|
||||
"t": "punctuation.comment.lua.line.double-dash.definition",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " defines a factorial function",
|
||||
"t": "comment.lua.line.double-dash",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "function",
|
||||
"t": "lua.meta.function.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "lua.meta.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "fact",
|
||||
"t": "lua.meta.function.entity.name",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.entity.name.function",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.entity.name.function",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.entity.name.function",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "lua.meta.function",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "punctuation.lua.definition.meta.function.parameters.begin",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "n",
|
||||
"t": "lua.meta.function.variable.parameter",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.variable.parameter",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.variable.parameter",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "punctuation.lua.definition.meta.function.parameters.end",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "if",
|
||||
"t": "lua.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " n ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "==",
|
||||
"t": "lua.keyword.operator",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "0",
|
||||
"t": "lua.constant.numeric",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "then",
|
||||
"t": "lua.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "return",
|
||||
"t": "lua.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "1",
|
||||
"t": "lua.constant.numeric",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "else",
|
||||
"t": "lua.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "return",
|
||||
"t": "lua.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " n ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "*",
|
||||
"t": "lua.keyword.operator",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "fact",
|
||||
"t": "lua.function.support.any-method",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(n",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "-",
|
||||
"t": "lua.keyword.operator",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "1",
|
||||
"t": "lua.constant.numeric",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.constant.numeric",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.constant.numeric",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.constant.numeric",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.constant.numeric",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.constant.numeric"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "end",
|
||||
"t": "lua.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "end",
|
||||
"t": "lua.keyword.control",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.control",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.control",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.control",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.control",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.control"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "print",
|
||||
"t": "lua.function.support",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\"",
|
||||
"t": "punctuation.lua.definition.begin.string.quoted.double",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "enter a number:",
|
||||
"t": "lua.string.quoted.double",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\"",
|
||||
"t": "punctuation.lua.definition.end.string.quoted.double",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " a ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "=",
|
||||
"t": "lua.keyword.operator",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.keyword.operator",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.keyword.operator",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.keyword.operator",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.keyword.operator",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.keyword.operator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "io.read",
|
||||
"t": "lua.function.support.library",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\"",
|
||||
"t": "punctuation.lua.definition.begin.string.quoted.double",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "*number",
|
||||
"t": "lua.string.quoted.double",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "\"",
|
||||
"t": "punctuation.lua.definition.end.string.quoted.double",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.string",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.string",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.string",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.string",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": ") ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "--",
|
||||
"t": "punctuation.comment.lua.line.double-dash.definition",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " read a number",
|
||||
"t": "comment.lua.line.double-dash",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark.vscode-theme-defaults-themes-dark_plus-json .token.comment",
|
||||
"light_plus": ".vs.vscode-theme-defaults-themes-light_plus-json .token.comment",
|
||||
"dark_vs": ".vs-dark.vscode-theme-defaults-themes-dark_vs-json .token.comment",
|
||||
"light_vs": ".vs.vscode-theme-defaults-themes-light_vs-json .token.comment",
|
||||
"hc_black": ".hc-black.vscode-theme-defaults-themes-hc_black-json .token.comment"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "print",
|
||||
"t": "lua.function.support",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "fact",
|
||||
"t": "lua.function.support.any-method",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"c": "(a))",
|
||||
"t": "",
|
||||
"r": {
|
||||
"dark_plus": ".vs-dark .token",
|
||||
"light_plus": ".vs .token",
|
||||
"dark_vs": ".vs-dark .token",
|
||||
"light_vs": ".vs .token",
|
||||
"hc_black": ".hc-black .token"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user