Open ismyrnow opened 9 years ago
To reduce things even further, all you need to do is close the original quoted string on a new line:
password: "foo<%bar"
now: highlighting no longer works
close: "
now: highlighting works
The behavior on Github differs here, though.
In my case, I wanted an interpolated string surrounded by <
and >
, so something like this:
user_line: "%{name} <%{email}>"
user_description: "This line has no syntax highlighting"
Blocked on atom/first-mate#83.
I have a quoted string which should contain
<%
in it. The result is that the string isn't closed unless a closing ERB tag and closing quote is found.I'm not sure how you would work around this in the grammar without breaking the ERB highlighting. However, I would consider proper YAML highlight a priority, considering the context.
Example:
Currently, this also breaks in Github. However, I'll include a screenshot just in case: