Closed MatheusRich closed 3 years ago
My issue may be related #128
@asterite confirmed fixed my issue #128 with #129 , but it didn't fix this issue. I can confirm it is still present.
Of course, it doesn't seem to be related to string interpolation :-)
I'll see if I can see what's going on...
It would have been helpful to have the textual thing, not an image... oh well...
I won't fix it but your best bet is to copy this one from Ruby and adapt it to Crystal: https://github.com/rubyide/vscode-ruby/blob/master/packages/vscode-ruby/syntaxes/erb.cson.json
Another one: %w
is not interpreted as string.
Crystal:
Ruby:
Here's the code:
%w[some WORDS in HERE]
Thank you! But these are all different bugs, I would open separate issues for them.
@asterite I thought it would make sense to keep this Highlight issues together, but I'll open another issue. Thanks!
@MatheusRich can you please provide a sample file to see the situation about this ticket?
@maxbertinetti here it is:
<% (1..10).each do |index| %>
<tr class="<%= index.odd? ? "odd" : "even" %>">
<% end %>
@MatheusRich I think is not correct the way you are trying to render this. You must use single quote outside and double inside.
BTW in v0.8.2
A weird one on ECR:
Using the ERB highlighting:
I'm using the One Dark PRO theme