You can try using the HTML filetype or the ruby filetype to see if either will do enough to be useful simply by setting the `Document->Set Filetype`. If one of those works ok enough you can make a custom filetype, see the manual. Otherwise a lexer needs to be added to the upstream [Lexilla](https://www.scintilla.org/Lexilla.html) project.