Browse Source

properly detect .h as a C++ header file

Arvid Gerstmann 9 years ago
parent
commit
18484eb6c7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .gitattributes

+ 3 - 0
.gitattributes

@@ -1,3 +1,6 @@
+# Properly detect languages on Github
+*.h linguist-language=cpp
+
 *.cpp eol=lf
 *.h eol=lf
 *.py eol=lf