Skip to content

Assignment to long attribute name (or attrset) of appended local path doesn't indent new line #327

@jmholla

Description

@jmholla

Description

When assigning an appended to long path with a very long left hand operand, the concatenating string is placed on a new line without an indentation.

Small example input

let
  aLongVariableNameOrEvenDeepAttrsetGettingAssignedAnAppendedToLocalPath = ./. + "some/string/path/that/forces/a/wrap/to/happen";
in "example"

Expected output

let
  aLongVariableNameOrEvenDeepAttrsetGettingAssignedAnAppendedToLocalPath = ./.
    + "some/string/path/that/forces/a/wrap/to/happen";
in
"example"

Actual output

let
  aLongVariableNameOrEvenDeepAttrsetGettingAssignedAnAppendedToLocalPath = ./.
  + "some/string/path/that/forces/a/wrap/to/happen";
in
"example"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions