-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I like to comment my functions as follows:
function func(
param_a -- description of a
, param_b -- description of b
) endStyLua turns this into the following:
function func(
param_a -- description of a,
param_b -- description of b
) endWhich is incorrect (a syntax error) as the comma is moved inside the comment. Lua 5.1 - 5.4 as well as LuaJIT all support such comments as they are filtered out in a tokenization step; poor syntax highlighters like GitHub's unfortunately don't.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working