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
Consider adding to github/linguist #537
Comments
Rhai is a scripting language, so I'm not sure if it is actually used in any repo as a main development language. However, I'll try the It might be better to use |
True, but other scripting languages are already highlighted, such as lua. Also oops yeah almost forgot about interpolated strings. I chose rust because I figured js would freak out without |
It actually does OK with Rust seems to mainly trip on interpolated strings, |
https://github.com/search?l=&q=a+extension%3Arhai&type=code dunno if this is what youre looking for but here you go @Purpzie search for repos using rhai |
Now that GitHub support cargo dependencies, there is quite a few codebases that support rhai scripts! |
I tried to submit to Maybe somebody can help do that? |
I noticed that
.rhai
files don't have any highlighting on github, and that no issues exist about this yet. Github's highlighting is powered by github/linguist, and they allow people to submit new languages if they're popular enough (used in >200 repos). Unfortunately github's search is pretty broken atm so I'm not sure how many repositories rhai is in.Until github supports it, throwing this in a repo's
.gitattributes
will highlight it by pretending it's rust:The text was updated successfully, but these errors were encountered: