atom / language-ruby-on-rails

Ruby on Rails package for Atom
Other
48 stars 41 forks source link

syntax highlighting - strings - issue related to `%%` #27

Open colllin opened 10 years ago

colllin commented 10 years ago

It seems to create multiple nested string syntax highlights... and since my theme uses a semi-transparent background for the string highlights, you can clearly see that they are piling up on top of each other because they get darker and darker throughout the file: image

On closer inspection, it looks like it's related to the characters %%- and %%=. And in case it helps, this is a .erb file, and the <%% is meant to escape the ERB tag so that it will output the <% characters for use in an underscore template. image image image

Moved from https://github.com/atom/language-ruby/issues/67

kevinsawicki commented 10 years ago

So is the language on the status bar HTML (Ruby - ERB) or HTML (Rails)?

colllin commented 10 years ago

HTML (Ruby - ERB)

On Thu, Oct 30, 2014 at 4:51 PM, Kevin Sawicki notifications@github.com wrote:

So is the language on the status bar HTML (Ruby - ERB) or HTML (Rails)?

— Reply to this email directly or view it on GitHub https://github.com/atom/language-ruby-on-rails/issues/27#issuecomment-61183251 .