Thanks to the initiative of @brnrdog, Github will soon classify ReScript code as its own language with proper syntax highlighting
The language detection is based on the .res file extension (it will not classify .re files).
It will take some time until youâll see the changes on Github (until GH deploys the newest changes of its language classifier) and you will later also need to push a new commit to your codebase to trigger the language classification of your repository.
It took us 2 months to get this PR through, since .res is a pretty popular extension and we had to make sure that there are no colliding false positives with any other files that are not ReScript.
Yeah we need to enable resi on linguist still, because back then it didnât meet the requirement of having hundreds of repositories using this file format (I know, itâs weird, bc res and resi belong together).
Might be worth opening a PR on linguist, the syntax highlighting file should be the same. as for res.