in a heex file like this:

```
<div class="grow p-3 md:p-6 mx-auto max-screen-4xl">
  <LiveToast.toast_group
    toast_class_fn={&demo_toast_class_fn/1}
    group_class_fn={&demo_group_class_fn/1}
    flash={@flash}
    kinds={[:info, :error, :warn]}
    connected={assigns[:socket] != nil}
    {
      if assigns[:settings] do
        [
          corner: case assigns[:settings]["corner"] do
            "top_right" -> :top_right
            "top_left" -> :top_left
            "bottom_right" -> :bottom_right
            "bottom_left" -> :bottom_left
          end
        ]
      else
        []
      end
    }
  />

  <%= @inner_content %>
</div>
```

the part inside the `{}` does not format at all. You can put any elixir in 
there, so I think it'd be nice if it formatted it as elixir, indented one 
level deeper then the {} if they are on their own line.

-- 
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/a9716315-d7dd-485f-bc65-08f755cc1f05n%40googlegroups.com.

Reply via email to