Browse Source

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>
tags/v1.15.0-dev
silverwind GitHub 4 years ago
parent
commit
5f3d4eed37
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      .gitattributes

+ 1
- 0
.gitattributes View File

@@ -1,3 +1,4 @@
* text=auto eol=lf
/vendor/** -text -eol linguist-vendored
/public/vendor/** -text -eol linguist-vendored
/templates/**/*.tmpl linguist-language=Handlebars

Loading…
Cancel
Save