You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test case 1 is the problem here; CodeRay thinks the last part is a Symbol. Here's a minimal test case.
a?'b':c
Unfortunately, this isn't easy to fix. I tried to improve colon/Symbol detection in the past, and the current implementation is a result of these efforts. It works really well for a lot of cases, especially code that uses spaces correctly ;)
The following provides results and an example of how Ruby is not being syntactically highlighted properly: https://idiosyncratic-ruby.com/1-test-highlights.html
The text was updated successfully, but these errors were encountered: