github/linguist — pull request #1878 by pguyot (2014-12-15 09:03:26+00:00)
Title: Add heuristic to distinguish between Component Pascal and C++ for .cp

.cp is quite commonly used for C++ rather than for Component Pascal.

https://github.com/search?utf8=✓&q=include+extension%3Acp&type=Code&ref=searchresults
currently yields 10442 results, mostly C++.

https://github.com/search?utf8=✓&q=MODULE+extension%3Acp&type=Code&ref=searchresults
currently yields 699 results (and some actually are C++ as the search is case insensitive).