Skip to content
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

Fix indentation of statement keywords on dot call #325

Merged
merged 1 commit into from
Apr 12, 2016

Conversation

tonini
Copy link
Contributor

@tonini tonini commented Apr 12, 2016

This fixes the issue where statement keywords like for, if, else etc are used in a dot call syntax like the following:

defmodule Whois do
  def lookup1(domain) do
    case Server.for(domain) do <-
      {:ok, server} -> server
      :error -> {:error, :unsupported}
    end
  end
end

fixes #323

@tonini tonini merged commit af713e6 into master Apr 12, 2016
@tonini tonini deleted the handle-dots-in-indentations branch April 12, 2016 19:23
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.

Calling a function named for in case or if messes up indentation of body
1 participant