Skip to content

FREQ: Indentation on #write #9

Description

@RoUS

I'd like to see a way to configure the indentation amount per [nested] group. E.g., set it to 4 and #write might emit

global_param = 1
[main]
main_param = 2
[sub1]
main_sub1_param = 3

Rather than adding all the code/logic to the gem for this, perhaps changing #write to take an optional block and pass some context info so the app can intervene as desired.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions