crystal-lang-tools / sublime-crystal

Crystal syntax highlighting for Sublime Text
Other
86 stars 18 forks source link

`:!` and `:!=` are considered operators rather than Symbols #37

Closed faultyserver closed 6 years ago

faultyserver commented 6 years ago

:! and :!= are both considered Symbols in Crystal:

puts typeof(:!)  #=> Symbol
puts typeof(:!=) #=> Symbol

However, the sublime syntax highlighter scopes them as operators instead:

screen shot 2018-02-10 at 5 54 58 pm

FWIW, the most recent Ruby highlighter (built into Sublime) also has this same problem.