This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
Not great for Ruby development #17
Open
Description
I'm working for a private company (can't share screenshots) but I can say I love your theme but I can't use it because our project uses Ruby and Ruby on Rails and it shows so pale with so few stuff highlighted. Could you take a look into adding support for some keywords? Just from the top of my mind:
- Starting with "@" symbol means it's an instance var: "@instance_variable"
- Starting with ":" symbol means it's a ruby symbol: ":symbol"
- Followed by ":" is a symbol used as key on a hash (like a map): "key: 'value'" and also "key with spaces": 'value'
- And finally, two words separated by spaces means the left one is the method name and the following is an argument; with the exceptions of already detected reserved keywords (while, for, if, def, class, module, case... etc)
I'm not sure how syntax highlight works, I'm assuming it's detecting keywords as tokens and giving them token type? Let me know if there is something I can do to help.
Metadata
Assignees
Labels
No labels
Activity