summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-09-14 15:14:58 +0100
committerEric Wieser <wieser.eric@gmail.com>2020-09-14 15:14:58 +0100
commit34719a111253e36f463aa4629eb75716e1c5c13c (patch)
treebc1457a5a2c8002cb7499c2def895ee02d01d83c /.gitattributes
parent3ad444b07ed53cf43d11e755701224a96840de62 (diff)
downloadnumpy-34719a111253e36f463aa4629eb75716e1c5c13c.tar.gz
MAINT: Syntax-highlight .src files on github
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index dad6dde37..81b8037d4 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3,3 +3,8 @@ numpy/lib/tests/data/*.npy binary
# Release notes, reduce number of conflicts.
doc/release/*.rst merge=union
+
+# Highlight our custom templating language as C, since it's hopefully better
+# than nothing. This also affects repo statistics.
+*.c.src linguist-language=C
+*.h.src linguist-language=C