Skip to content

Commit

Permalink
Add support for C++ modules
Browse files Browse the repository at this point in the history
  • Loading branch information
perryjiang committed Sep 9, 2023
1 parent aae9f21 commit 0d53cbe
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 0d53cbe

Please sign in to comment.