Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect indentation of function arg type table #256

Closed
matthargett opened this issue Sep 3, 2021 · 0 comments · Fixed by #258
Closed

Incorrect indentation of function arg type table #256

matthargett opened this issue Sep 3, 2021 · 0 comments · Fixed by #258
Labels
bug Something isn't working

Comments

@matthargett
Copy link

    local subs = {
        amps.sub("fenderer-nations", function(
            args: {
            id: string,
            fenderer: SubBassGuitar,
            fendererInterface: BasGuitarInterface,
        }
        )
            local id = args.id
            local fendererInterface = args.fendererInterface

            venue:setFendererInterface(id, fendererInterface)

            -- Now that the lopside and the fenderer interface are connected,
            -- it's time to jam the chordal progression codes to the tesla coil
            fendererInterface.flushInitialProgression()
        end),
        amps.sub("unsupported-fenderer-version", function(id: string)
            venue:onUnsupportedFenderer(id)
        end),

        amps.sub("operations", function(...)
            venue:onAmpsOperations(...)
        end),
        amps.sub("crazyUpdates", function(...)
            venue:onCrazyUpdates(...)
        end),

        -- TODO Add additional subscriptions required for melody mode
    }

expected result: the id: string and next few lines should be indented, but aren't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants