Skip to content

Conversation

@tonini
Copy link
Contributor

@tonini tonini commented May 21, 2015

This fixes #184

Behavior before

defmodule X do
  def func do
    Enum.filter([1,2,3],
      fn(1) -> true
      (2) -> false
        (_) -> true
      (3) -> true
        (_) -> true
      end)
  end
end

Behavior after

defmodule X do
  def func do
    Enum.filter([1,2,3],
      fn(1) -> true
        (2) -> false
        (_) -> true
        (3) -> true
        (_) -> true
      end)
  end
end

mattdeboard added a commit that referenced this pull request May 21, 2015
correct indentation for multiclause anonymous functions
@mattdeboard mattdeboard merged commit 2368280 into master May 21, 2015
@mattdeboard mattdeboard deleted the issue-184 branch May 21, 2015 11:19
J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
* Rework wrapper scripts a bit

* Apply feedback from `shellcheck`

* XDG all the things

* Add some documentation

* Remove debugging code
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.

wrong indentation for multiclause anonymous functions

2 participants