Skip to content

Commit

Permalink
Merge pull request #411 from perryjiang/cppmodules
Browse files Browse the repository at this point in the history
Add support for C++ modules
  • Loading branch information
asottile authored Sep 11, 2023
2 parents aae9f21 + 0d53cbe commit cc7bf02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
'bz2': {'binary', 'bzip2'},
'bzl': {'text', 'bazel'},
'c': {'text', 'c'},
'c++': {'text', 'c++'},
'c++m': {'text', 'c++'},
'cc': {'text', 'c++'},
'ccm': {'text', 'c++'},
'cfg': {'text'},
'chs': {'text', 'c2hs'},
'cjs': {'text', 'javascript'},
Expand All @@ -29,6 +32,7 @@
'coffee': {'text', 'coffee'},
'conf': {'text'},
'cpp': {'text', 'c++'},
'cppm': {'text', 'c++'},
'cr': {'text', 'crystal'},
'crt': {'text', 'pem'},
'cs': {'text', 'c#'},
Expand All @@ -41,6 +45,7 @@
'cue': {'text', 'cue'},
'cuh': {'text', 'cuda'},
'cxx': {'text', 'c++'},
'cxxm': {'text', 'c++'},
'cylc': {'text', 'cylc'},
'dart': {'text', 'dart'},
'dbc': {'text', 'dbc'},
Expand Down Expand Up @@ -101,6 +106,7 @@
'ino': {'text', 'ino', 'c++'},
'inx': {'text', 'xml', 'inx'},
'ipynb': {'text', 'jupyter', 'json'},
'ixx': {'text', 'c++'},
'j2': {'text', 'jinja'},
'jade': {'text', 'jade'},
'jar': {'binary', 'zip', 'jar'},
Expand Down

0 comments on commit cc7bf02

Please sign in to comment.