Sublime Forum

Build 3143 HTML (Rails) syntax highlight bug

#1

When using HTML (Rails) syntax highlighting, everything after a / @ inside an ERB tag will become yellow.

Using the code below as an example, the / @x %> <% end %> code segment below will be displayed in yellow.

<%= content_tag(:div) do %>
  <%= y / @x %>
<% end %>
0 Likes

#2

The default syntaxes are maintained at https://github.com/sublimehq/Packages/issues.

0 Likes

#3

I didn’t know that, awesome!

And looks like there’s an issue for this problem already.

Thanks @wbond.

0 Likes