aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorsilverwind2020-11-15 20:34:06 +0100
committerGitHub2020-11-15 14:34:06 -0500
commit7a30e97002ec8bd601b93549d4efc51743ecf2b3 (patch)
tree49652874294f8f7d3c2606bd81e01135e3572119 /.gitattributes
parent50cbb204812f465ea00b2ffd31db58378e17f27b (diff)
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 <techknowlogick@gitea.io>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
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