Open Nnnes opened 7 years ago
Since
puts int %-4 #-
puts str %-4 #-
uses exactly the same syntax, you won't be able to get highlighting with ST's engine that is 100% correct, but it can at least try to guess whether the content of a percent string would consist of only a (negative) number and consider it to be the modulo operator instead.
But why, Ruby, why?
(I confirmed this btw.)
The highlighting appears incorrectly in GitHub the same way that it does in Sublime Text. A true fix is likely not feasible:
is interpreted the same as
so both output