Closed pywebdesign closed 7 years ago
I'm seeing the same issue with multiple class
es. e.g.
= image_tag("a.png", class: "a b c d")
Maybe there's a regex and it expects the value of class
to be a single word? Just guessing.
Hey @jaredbeck and @pywebdesign the Slim package was just updated with a fix to this. When convenient, would you please pull the update and verify that the helper is now highlighted as expected?
I haven't used textmate or sublime in almost two years; can't help, sorry.
Syntax highlight is horrible for this line and many rails tag helpers
= image_tag("logo.png", alt: "Cesure Logo", class: "logo")
alt: and class: are not the same color, parenthesis are another color ans : too.
It could be possible to catch the parenthesis, they are not necessary in ruby but could help syntax highlight. my 2 cents