lite-plugins
lite-plugins copied to clipboard
Ruby
Please add ruby formater/color
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