Skip to content

Correct indentation of maps inside lists #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2016

Conversation

tonini
Copy link
Contributor

@tonini tonini commented Apr 13, 2016

Before:

[
  %{
    name: "John Doe",
    email: "[email protected]"
},  <-----
  %{
    name: "Jane Doe",
    email: "[email protected]",
  },
  %{
    name: "Josie Doe",
    email: "[email protected]",
  },
]

After:

[
  %{
    name: "John Doe",
    email: "[email protected]"
  },  <-----
  %{
    name: "Jane Doe",
    email: "[email protected]",
  },
  %{
    name: "Josie Doe",
    email: "[email protected]",
  },
]

@tonini tonini merged commit 54bf51c into master Apr 13, 2016
@tonini tonini deleted the indent-maps-inside-list-correct branch April 13, 2016 07:07
@utkarshkukreti
Copy link

@tonini A similar test case, but with tuples inside lists:

[
  {1, 2, 3},
  {4, 5, 6},
  {7, 8, 9}
]

becomes

[
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
]

Should I open a new issue?

@tonini
Copy link
Contributor Author

tonini commented Apr 13, 2016

@utkarshkukreti would be great! thanks for the report.

@tonini
Copy link
Contributor Author

tonini commented Apr 13, 2016

@utkarshkukreti ok its already fixed on the 597818c master

J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants