StyLua icon indicating copy to clipboard operation
StyLua copied to clipboard

Add support for GLua

Open SenseiHiraku opened this issue 1 year ago • 1 comments

Hey there, I wanted to propose adding support for GLua (Garry's Mod Lua), which is basically LuaJIT with extended support for some c-operators.

The non-standard symbols are the following:

        "continue",
        "&&",
        "||",
        "!=",
        "!",
        "//",
        "/**/"

I'd also be satisfied if these symbols just convert to the standard-lua syntax (with the exception of continue, which has no equivalent)

SenseiHiraku avatar Nov 26 '24 11:11 SenseiHiraku

As for the linked fivem documentation in #855, here is the gmod one: https://wiki.facepunch.com/gmod/Specific_Operators

SenseiHiraku avatar Nov 26 '24 23:11 SenseiHiraku