Add a linguist-language Git attribute that matches the files at include/gsl and sets their language to C++. Without this override, these files are not detected as C++ code by GitHub's Linguist (likely due to lacking any file extensions).
This will cause GitHub.com to count these files correctly as C++ code and do syntax highlighting when browsing the repo.
Add a
linguist-language
Git attribute that matches the files atinclude/gsl
and sets their language to C++. Without this override, these files are not detected as C++ code by GitHub's Linguist (likely due to lacking any file extensions).This will cause GitHub.com to count these files correctly as C++ code and do syntax highlighting when browsing the repo.
Linguist breakdown results
Before:
After: