Description
- Gitea version (or commit ref): 1.14.0+dev-546-gdc66e4740
- Git version: ???
- Operating system: docker
- Database (use
[x]
): should be irrelevant - Can you reproduce the bug at https://try.gitea.io: did not try, since it's not a bug
- Log gist: not a bug
Description
I have a feature suggestion for small language creators: keep .gitattributes linguist-language overrides with unknown name in languages bar. This has also been suggested for the original linguist and GitHub here, but GitHub seems to query language names from a central database and isn't interested in adding extra code to allow repo-only entries indirectly created by .gitattributes
entries.
Basically, when .gitattributes
contains a line like this: *.h64 linguist-language=Horse64
, and the language Horse64
isn't known to gitea / go-enry, then it would be cool if it still showed up with the name "Horse64" and any random color choice in the languages bar. I checked this on my own gitea instance (running 1.14.0) and right now this isn't the case, same as on GitHub the unknown language classification is just plain ignored and omitted.
Screenshots
Project with *.h64 linguist-language=Horse64
line and some .h64
files looks like this:
Mockup how this could look like with this feature: