Sublime Forum

HAML: bad colorisation when overlap method options

#1

Hi,
I’m trying Sublime 2 with a rails project.

With HAML, I have a bad colorisation when I overlap method with many options (look at birthday):

I’m not familiar with packages, I don’t know if it’s HAML or RUBY related

Thanks

EDIT: I confirm that happen only in HAML templates

0 Likes

#2

It is complicated. Can you try the same code on TextMate and/or the recent Chocolat editor, both of which use the same HAML bundle?

I am confronting another HAML coloring issue on Sublime, and I’ve written about it at viewtopic.php?f=4&t=3392&p=29816&hilit=haml#p29816.

In short, javascript code within HAML files (i.e. :javascript scopes) are not properly colored by Sublime. They are, however, perfectly colored by TextMate and Chocolat!

This suggests that there might be something wrong with the rendering engine/bundle “interpreter” of Sublime, and nothing wrong with the bundle itself.

0 Likes