about summary refs log tree commit diff
path: root/.gitattributes
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-03-23 17:20:12 -0700
committerGitHub <noreply@github.com>2021-03-23 17:20:12 -0700
commitb3ae90b4c20ae28c5dc1c141997869f9fd3148a6 (patch)
tree10bb8a6dca068427c69f80cc54f444bfa70bb6c0 /.gitattributes
parent79e5814f4520f2c51b5307421db45cd82d134e76 (diff)
downloadrust-b3ae90b4c20ae28c5dc1c141997869f9fd3148a6.tar.gz
rust-b3ae90b4c20ae28c5dc1c141997869f9fd3148a6.zip
Tell GitHub to highlight `config.toml.example` as TOML
This should be a nice small quality of life improvement when looking at
`config.toml.example` on GitHub or looking at diffs of it in PRs.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index d29c15fe712..51a670b5fbe 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -9,6 +9,7 @@
 src/etc/installer/gfx/* binary
 src/vendor/** -text
 Cargo.lock linguist-generated=false
+config.toml.example linguist-language=TOML
 
 # Older git versions try to fix line endings on images and fonts, this prevents it.
 *.png binary