-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
Hi! Thank you for your work!
I've been working with a few embedded Crystal files recently (permalink), and noticed that they're counted as HTML in the repo composition, and as Forgejo uses go-enry, whose language list is based on linguist's, I thought I'd ask here :D
While embedding crystal into HTML is a common use case, it's in no way limited to that. It's basically a template language, so not directly related to HTML in any way.
Also, in my repo it's technically a KDL config file, so HTML is completely wrong in that case π€£
Would it be possible to count Embedded Crystal (.ecr) as Crystal source code? Or maybe the language defined in the filename, like template.kdl.ecr.
Having it report as HTML even though it's not is a bit of a bummer :D
Thank you in advance!
More information about ECR: https://crystal-lang.org/api/1.17.1/ECR.html