-
|
I have some shell scripts & css code which should be showing here but it shows "others"
Then I thought maybe its due to the languages being less than 1% but on many repos I've seen lang count below 1% , like this
My repo https://github.com/hazeui/haze-ui Tokei shows languages properly!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
You can't. This is what GitHub does, not Linguist, in certain situations. The most common is if there is two or more languages with less than 1% by bytes of code. The next is if a repo contains more than 7 languages. The six largest languages take the first six spots with everything else bundled into "Other". Your repo has nine languages: $ github-linguist haze-ui/
28.35% 37109 Svelte
26.10% 34161 TypeScript
14.93% 19535 Vue
12.10% 15841 JavaScript
6.48% 8480 Lua
5.46% 7146 MDX
2.61% 3413 HTML
2.23% 2922 CSS
1.74% 2272 Shell
$… so the first six are shown and the last three are bundled together to "Other". There is no way to prevent this other than reducing the number of languages or use overrides, as it's a GitHub design decision and outside of Linguist's control. This was previously discussed in #5429 |
Beta Was this translation helpful? Give feedback.







That's because there are only 6 languages in the repo with only 1 less than 1%. If there were two or more languages less than 1%, they'd be grouped into "Other".