diff options
author | silverwind <me@silverwind.io> | 2020-11-15 20:34:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-15 14:34:06 -0500 |
commit | 7a30e97002ec8bd601b93549d4efc51743ecf2b3 (patch) | |
tree | 49652874294f8f7d3c2606bd81e01135e3572119 /.gitattributes | |
parent | 50cbb204812f465ea00b2ffd31db58378e17f27b (diff) | |
download | gitea-7a30e97002ec8bd601b93549d4efc51743ecf2b3.tar.gz gitea-7a30e97002ec8bd601b93549d4efc51743ecf2b3.zip |
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-- | .gitattributes | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index 67f7f52377..d4ce3a2d95 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 |