add Lua classes tutorial

This commit is contained in:
りき萌 2025-02-08 22:31:18 +01:00
parent 05e60920a7
commit 7cf5fbf843
3 changed files with 517 additions and 2 deletions

View file

@ -19,7 +19,7 @@
},
{ "regex": "0[xX]\\.[0-9a-fA-F]+([pP][-+]?[0-9]+)?", "is": "literal" },
{
"regex": "[0-9][0-9_]+(\\.[0-9_]*([eE][-+]?[0-9_]+)?)?",
"regex": "[0-9]+(\\.[0-9]*([eE][-+]?[0-9]+)?)?",
"is": "literal"
},
{
@ -30,7 +30,7 @@
}
},
{ "regex": "\\.\\.\\.", "is": "punct" },
{ "regex": "[+=/*^%#<>~.-]+", "is": "operator" },
{ "regex": "[+=/*^%#<>~.:-]+", "is": "operator" },
{
"regex": "([a-zA-Z_][a-zA-Z0-9_]*)\\(",
"is": {