Home Download Buy Blog Forum Support

HAML: bad colorisation when overlap method options

HAML: bad colorisation when overlap method options

Postby badfoo on Sat Mar 31, 2012 8:34 pm

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):

Image

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
badfoo
 
Posts: 1
Joined: Sat Mar 31, 2012 8:20 pm

Re: HAML: bad colorisation when overlap method options

Postby macula on Thu Apr 26, 2012 3:15 pm

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.
macula
 
Posts: 7
Joined: Thu Apr 26, 2012 1:30 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 16 guests