jpellerin / emacs-crystal-mode

A minimal crystal mode for emacs, based on ruby-mode (of course)
GNU General Public License v3.0
23 stars 13 forks source link

Incorrect indentation when two `if` blocks are adjacent to each other in macros #8

Open js-ojus opened 8 years ago

js-ojus commented 8 years ago

In macros, when we have two adjacent if blocks, the indentation of (the contents of) the second one is incorrect.

...
  {% if cond %}
    ...
  {% end %}
  {% if cond %}
    ...
  {% end %}
...