Hi

The formatter will do this when either the pipeline is too long to fit in
one line, or if there is at least one newline in the pipeline.

Cheers,
Louis


On Sun, 2 Sep 2018, 20:39 Sofiane Baddag, <popo63...@gmail.com> wrote:

> It would be nice to have multiline pipelines formatted automatically with
> Mix.
>
> With the current format (no changes):
>
> def hello(arg) do
> arg |> func1 |> func2 |> func3
> end
>
>
> Expected behaviour:
>
> def hello(arg) do
> arg
> |> func1
> |> func2
>  |> func3
> end
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elixir-lang-core+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/bdd16648-3bf4-4a9b-a258-aaa0a21bc20d%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/bdd16648-3bf4-4a9b-a258-aaa0a21bc20d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CABu8xFD%3D6T7JMwFw_6-5Fxqdj3PSrYVWG2%3DQ5hzc0iP6LzYmvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to