When writing eruby file and using HEREDOC syntax, the indentation doesn't work that well. This is what vim produces when using default indentation:
<!DOCTYPE html>
<html>
<head>
</title>Foo</title>
</head>
<body>
<%= foo <<~EOF
EOF
%>
</body>
The ending %> is off by one level to the left. I believe it should be like this:
</html>
<!DOCTYPE html>
<html>
<head>
</title>Foo</title>
</head>
<body>
<%= foo <<~EOF
EOF
%>
</body>
</html>
When writing eruby file and using HEREDOC syntax, the indentation doesn't work that well. This is what vim produces when using default indentation:
The ending
%>is off by one level to the left. I believe it should be like this: