Skip to content

Wrong comment indentation between if and elseif #158

@ghost

Description

Hey,
i have a strange indentation between if and elseif.

for n = 0, EndOfWorld do
    -- Comment 0
    if TestDictionary.Test == "HelloWorld" then
        -- Comment 1
        if true then
            return 0
            -- Comment 2
        elseif false then
            e = 1
        end
    end
end

The third comment comment 2 is not on beginning elseif.
My config-file is:

column_limit: 120
tab_width: 4
keep_simple_control_block_one_line: false
keep_simple_function_one_line: false
align_args: true
break_after_functioncall_lp: true
break_before_functioncall_rp: true
column_table_limit: 40
single_quote_to_double_quote: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions