From a79718522dc432e32cf322498ddf22ec570fa8fd Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 1 Aug 2023 21:41:03 +0200 Subject: [PATCH] [META] Use correct language for .tmpl - Upstream chosen `Handlebars` as language for the templates, presumenly because Github doesn't have an syntax highlighter for Go. - Forgejo does have syntax highlighting support for Go templates, so use that. --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 467b8a47b5..51131c7d83 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,5 @@ * text=auto eol=lf -*.tmpl linguist-language=Handlebars +*.tmpl linguist-language=go-html-template /assets/*.json linguist-generated /public/assets/img/svg/*.svg linguist-generated /templates/swagger/v1_json.tmpl linguist-generated