Skip to content

Alignment #12

@fredrikekre

Description

@fredrikekre

Currently Runic destroys alignment because it is very stringent about spacing, for example

a  = 1
ab = 2

will be replaced with

a = 1
ab = 2

Doing this is of course a valid option (and what e.g. gofmt does).

The current rule is a single space around operators, but I wonder if relaxing it to at least a single space around operators would satisfy the "human need" to prettify things with alignment would be a good option. I think this would work in all situations where you typically align things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions