From 7a30e97002ec8bd601b93549d4efc51743ecf2b3 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 15 Nov 2020 20:34:06 +0100 Subject: [PATCH] Enable syntax highlighting for *.tmpl on GitHub (#13571) Go templates are syntactically very similar to handlebars, this enabled their syntax highlighting on GitHub. Co-authored-by: techknowlogick --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 67f7f5237..d4ce3a2d9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ * text=auto eol=lf /vendor/** -text -eol linguist-vendored /public/vendor/** -text -eol linguist-vendored +/templates/**/*.tmpl linguist-language=Handlebars