Language not detected in repository (C++) #6241
-
Since I've created this repository, linguist doesn't seem to be detecting the language of my repository, that is C++. I've tried setting the Linguist appears to just not walk the directories that contain my C, C++ files, and it doesn't show any output. In the picture above I compare two projects with similar directory structure. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's because all your code is in the You'll need to implement the |
Beta Was this translation helpful? Give feedback.
It's because all your code is in the
external
directory which Linguist considers as a path to vendored code here:https://github.com/github/linguist/blob/c1c34e5260797b4d598f5ec76f19723bfc5a1894/lib/linguist/vendor.yml#L111
You'll need to implement the
-linguist-vendored
override for these to be considered.