summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index f1e99ee8ca..36620d50f5 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,7 @@
+# Properly detect languages on Github
+*.h linguist-language=cpp
+drivers/* linguist-vendored
+
*.cpp eol=lf
*.h eol=lf
*.py eol=lf