Skip to content

Allow . in fields to reduce nesting #1

@RaphGL

Description

@RaphGL

Just like in TOML, allow writing:

editor = {
    theme = {
        dracula = {
           foreground = "black"
           background = "white"
        }
    }
}

like this as well:

editor.theme.dracula = {
    foreground = "black"
    background = "white"
}

While TOML's lack of indentation is a negative, this nesting syntax is actually good to prevent too much nesting on more complex config files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions