summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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