Wow, yeah, that's bizarre. It's a TypeScript project. It turns out it has to do with some of the dictionary files that I'm using, which use a peculiar format involving lots of semicolons, which is incorrectly detecting the entire file as being Roff. Since the dictionary files are by far the largest files in the repo, it's skewing GH's language detection. Adding a gitattribute to exclude them from language detection fixed the issue.
why does github say "Roff 94.3%" as the main language?
Wow, yeah, that's bizarre. It's a TypeScript project. It turns out it has to do with some of the dictionary files that I'm using, which use a peculiar format involving lots of semicolons, which is incorrectly detecting the entire file as being Roff. Since the dictionary files are by far the largest files in the repo, it's skewing GH's language detection. Adding a gitattribute to exclude them from language detection fixed the issue.