Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
faultyserver opened this issue Feb 10, 2018 · 0 comments
Closed

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

faultyserver opened this issue Feb 10, 2018 · 0 comments
Labels

Comments

@faultyserver
Copy link
Contributor

:! 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants