-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
Description
The elixir style guide recommends this:
# Multiline pipelines use a single level of indentation.
some_string
|> String.downcase
|> String.strip
# Multiline pipelines on the right side of a pattern match
# should be indented on a newline
sanitized_string =
some_string
|> String.downcase
|> String.stripemacs-elixir will indent the second example as:
sanitized_string =
some_string
|> String.downcase
|> String.stripIt would be nice if support for the elixir style guide format could be added. Thanks :)
aaronjensen, mdillavou, derhackler, mosic, vanderhoop and 1 more