Skip to content

Indentation breaks on line breaks of macros #558

@alexandremcosta

Description

@alexandremcosta

Actual

  plug FooWeb.Foo,
    [params: [:id]] when action in [:a, :b]

Expected

  plug FooWeb.Foo,
       [params: [:id]] when action in [:a, :b]

Actual

    test "very long line",
         %{foo: "bar"} do
           # new line starts here

Expected

    test "very long line",
         %{foo: "bar"} do
      # new line should actually start here

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