diff --git a/LuaScript/LuaScript.csproj b/LuaScript/LuaScript.csproj index ee24c89..eb457a0 100644 --- a/LuaScript/LuaScript.csproj +++ b/LuaScript/LuaScript.csproj @@ -1,4 +1,4 @@ - + net10.0-windows10.0.19041.0 @@ -100,6 +100,8 @@ + + diff --git a/LuaScript/Resources/SyntaxDefinitions/Lua-Black.xshd b/LuaScript/Resources/SyntaxDefinitions/Lua-Black.xshd new file mode 100644 index 0000000..b1f3d3e --- /dev/null +++ b/LuaScript/Resources/SyntaxDefinitions/Lua-Black.xshd @@ -0,0 +1,62 @@ + + + + + + + + + + + + --\[\[ + \]\] + + + -- + + + " + " + + + + + + ' + ' + + + + + + true + false + + + and + break + do + else + elseif + end + for + function + goto + if + in + local + not + or + repeat + return + then + until + while + + + nil + + \b0[xX][0-9a-fA-F]+|\b(\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? + + diff --git a/LuaScript/Resources/SyntaxDefinitions/Lua-Windows.xshd b/LuaScript/Resources/SyntaxDefinitions/Lua-Windows.xshd new file mode 100644 index 0000000..bd08abc --- /dev/null +++ b/LuaScript/Resources/SyntaxDefinitions/Lua-Windows.xshd @@ -0,0 +1,62 @@ + + + + + + + + + + + + --\[\[ + \]\] + + + -- + + + " + " + + + + + + ' + ' + + + + + + true + false + + + and + break + do + else + elseif + end + for + function + goto + if + in + local + not + or + repeat + return + then + until + while + + + nil + + \b0[xX][0-9a-fA-F]+|\b(\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? + +