The title more or less says it all. When I'm editing a file where filetype=eelixir, e.g. .eex or .heex file, then autoindentation
works correctly if, say, I add an if statement:
# I type this line:
<%= if condition do %>
# Still in insert mode, I hit Enter, and two spaces are added, with the cursor ending up at the X:
<%= if condition do %>
X
But if I try to add a "dot" tag - not sure of the correct terminology, I'm talking about tags that call an Elixir function and start with <. - then the autoindent doesn't work:
# After typing the first line and hitting Return, no new indentation is added and the cursor is at X:
<.form {some_attributes}>
X
Is there a way to fix this?