Skip to content
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
@stoicAlchemist

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions