Twoje komentarze

I have not, although I don't have high hopes it would be fixed since the tmLanguage files are (I believe) originally from TextMate.

Thinking more about how to solve the issue I still haven't come up with a good solution, it's really hard to distinguish between the two use cases which can have practically identical syntax in many cases:


number = my_number / (another_number + "5".to_i) / 3

store_regex /foo "(bar)".* baz/i


Perhaps this is why it was left out of the grammar file in the first place when it was such an obvious omission

That patch fixes it but introduces another problem, now when using it for division it'll cause the highlighting issue, e.g.: number = 5 / 4

I'm not familiar enough with how to modify these tmLanguage files to propose a better fix..