Browse Source

properly detect .h as a C++ header file

Arvid Gerstmann 9 năm trước cách đây
mục cha
commit
18484eb6c7
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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