Closed ericv8v9s closed 3 months ago
It seems the ref highlighter sees the opening and closing delimiters as well. This causes problems with the <%= ... %> syntax in ERB files because ruby strings can be delimited with % then any character, so it sees %= as starting a string.
ref
<%= ... %>
%
%=
Making <% a look-behind match seems to fix this.
<%
It seems the
ref
highlighter sees the opening and closing delimiters as well. This causes problems with the<%= ... %>
syntax in ERB files because ruby strings can be delimited with%
then any character, so it sees%=
as starting a string.Making
<%
a look-behind match seems to fix this.