Skip to content

FREQ: Indentation on #write #9

@RoUS

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.

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