atom / language-ruby

Ruby package for Atom
Other
100 stars 144 forks source link

Heredoc wrong colors #300

Open collimarco opened 2 years ago

collimarco commented 2 years ago

I have a simple heredoc like this:

content = <<~DOCKERFILE
   The content of any Dockerfile here
DOCKERFILE

You will get a strange / completely random coloring of the syntax inside the heredoc.

Expected: only one color (green) for all the content, since it is a string, OR the Docker syntax coloring.

Actual: random colors not consistent (for example RUN has different colors depending on the line)