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

Ruby #110

Open
mikolaj24 opened this issue Dec 9, 2020 · 1 comment
Open

Ruby #110

mikolaj24 opened this issue Dec 9, 2020 · 1 comment

Comments

@mikolaj24
Copy link

Please add ruby formater/color

@MarcusE1W
Copy link

Hi. It's super easy to create one for yourself.

  • You need a list of all the keywords from ruby. A quick search should get you that, or peek at another editor that supports ruby already
  • copy one of the existing language_xxx.lua files to language_ruby.lua
  • change the keywords for ruby.
  • then change which file ending identifies the language
  • check what is defined as comment

This is not perfect but works ok as things like identifying strings and numerics are often quite similar between languages.
Once you have the keywords highlighted and comments correct you can fine tune while you use it.

Takes 15-20 min. for the first shot

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

No branches or pull requests

2 participants