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

Highlight and indent macro templates properly #2

Open jpellerin opened 9 years ago

jpellerin commented 9 years ago

Highlighting of delimiters works ok, but the contents of macro templates don't highlight or indent properly, because the lexer can't tokenize {%...%} correctly and even if it could, the indentation engine is not set up to handle macro tokens.