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

Indent submodule #489

Merged
merged 4 commits into from
Oct 11, 2021
Merged

Indent submodule #489

merged 4 commits into from
Oct 11, 2021

Conversation

domluna
Copy link
Owner

@domluna domluna commented Oct 11, 2021

fix #484

indent_submodule

default: false

When set to true, submodule(s) appearing in the same file will be indented.

module A
a = 1

module B
b = 2
module C
c = 3
end
end

d = 4

end

will be formatted to:

module A
a = 1

module B
    b = 2
    module C
        c = 3
    end
end

d = 4

end

When set to true inner modules will be indented
@domluna domluna merged commit 7763c6b into master Oct 11, 2021
@domluna domluna deleted the dl/indent-inner-module branch April 21, 2022 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Submodules in one file should be indented according to BlueStyle
1 participant