mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 00:06:16 +08:00
Added support for the Lua and Luau languages. (#2519)
* Added Lua support. * Updated other `.json` files. * Added support for Luau.
This commit is contained in:
parent
1063df32a0
commit
5bee5e3a04
|
@ -284,7 +284,9 @@
|
|||
"code_ruby",
|
||||
"code_r",
|
||||
"code_swift",
|
||||
"code_bash"
|
||||
"code_bash",
|
||||
"code_lua",
|
||||
"code_luau"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -153,6 +153,8 @@
|
|||
,"code_r"
|
||||
,"code_swift"
|
||||
,"code_bash"
|
||||
,"code_lua"
|
||||
,"code_luau"
|
||||
,"hindi"
|
||||
,"hindi_1k"
|
||||
,"macedonian"
|
||||
|
|
58
frontend/static/languages/code_lua.json
Normal file
58
frontend/static/languages/code_lua.json
Normal file
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"name": "code_lua",
|
||||
"leftToRight": true,
|
||||
"noLazyMode": true,
|
||||
"words": [
|
||||
"and",
|
||||
"break",
|
||||
"do",
|
||||
"else",
|
||||
"elseif",
|
||||
"end",
|
||||
"false",
|
||||
"for",
|
||||
"function",
|
||||
"if",
|
||||
"in",
|
||||
"local",
|
||||
"nil",
|
||||
"not",
|
||||
"or",
|
||||
"repeat",
|
||||
"return",
|
||||
"then",
|
||||
"true",
|
||||
"until",
|
||||
"while",
|
||||
|
||||
"assert",
|
||||
"collectgarbage",
|
||||
"dofile",
|
||||
"error",
|
||||
"gcinfo",
|
||||
"getfenv",
|
||||
"getmetatable",
|
||||
"ipairs",
|
||||
"load",
|
||||
"loadfile",
|
||||
"loadstring",
|
||||
"newproxy",
|
||||
"next",
|
||||
"pairs",
|
||||
"pcall",
|
||||
"print",
|
||||
"rawequal",
|
||||
"rawget",
|
||||
"rawlen",
|
||||
"rawset",
|
||||
"require",
|
||||
"select",
|
||||
"setfenv",
|
||||
"setmetatable",
|
||||
"tonumber",
|
||||
"tostring",
|
||||
"type",
|
||||
"unpack",
|
||||
"xpcall"
|
||||
]
|
||||
}
|
58
frontend/static/languages/code_luau.json
Normal file
58
frontend/static/languages/code_luau.json
Normal file
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"name": "code_luau",
|
||||
"leftToRight": true,
|
||||
"noLazyMode": true,
|
||||
"words": [
|
||||
"and",
|
||||
"break",
|
||||
"do",
|
||||
"else",
|
||||
"elseif",
|
||||
"end",
|
||||
"false",
|
||||
"for",
|
||||
"function",
|
||||
"if",
|
||||
"in",
|
||||
"local",
|
||||
"nil",
|
||||
"not",
|
||||
"or",
|
||||
"repeat",
|
||||
"return",
|
||||
"then",
|
||||
"true",
|
||||
"until",
|
||||
"while",
|
||||
|
||||
"export",
|
||||
"typeof",
|
||||
"continue",
|
||||
|
||||
"assert",
|
||||
"collectgarbage",
|
||||
"error",
|
||||
"gcinfo",
|
||||
"getfenv",
|
||||
"getmetatable",
|
||||
"ipairs",
|
||||
"loadstring",
|
||||
"newproxy",
|
||||
"next",
|
||||
"pairs",
|
||||
"pcall",
|
||||
"print",
|
||||
"rawequal",
|
||||
"rawget",
|
||||
"rawset",
|
||||
"require",
|
||||
"select",
|
||||
"setfenv",
|
||||
"setmetatable",
|
||||
"tonumber",
|
||||
"tostring",
|
||||
"type",
|
||||
"unpack",
|
||||
"xpcall"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue