Please register rbs in GitHub linguist project for syntax highlight
Currently, there is still no syntax highlight for .rbs files on GitHub (neither files nor markdown snippets). This makes it hard to read rbs code on GitHub and thus makes adoption harder.
To solve this problem, rbs needs to be registered to GitHub's linguist project. The steps are detailed here.
Hi @st0012! Yes, I know the situation and I want GitHub to support RBS files!
There are two things we have to do according to the steps:
- We need > 200 unique repos with
.rbsfiles - We need to define the grammer
Does anyone help me to count the # of repos with .rbs files?
@soutaro I don't think the 200 unique repos is a hard limit. I think its purpose is to make sure the language is credible. Given that rbs is supported by the Ruby organization and is actively developed, there's no reason to question the credibility.
Also, based on GH there is 139 public repos that depend on this project https://github.com/ruby/rbs/network/dependents.
Regarding the grammar, I thought it's already defined? For example: https://github.com/soutaro/vscode-rbs-syntax/blob/master/syntaxes/rbs.tmLanguage.json
based on GH there is 139 public repos
Good point. I agree that the syntax would be worth being supported.
I thought it's already defined?
Anyway, I need to review if the grammar is good enough...