summaryrefslogtreecommitdiffstats
path: root/identify/extensions.py
diff options
context:
space:
mode:
Diffstat (limited to 'identify/extensions.py')
-rw-r--r--identify/extensions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/identify/extensions.py b/identify/extensions.py
index 4202ada..fbaf71a 100644
--- a/identify/extensions.py
+++ b/identify/extensions.py
@@ -17,7 +17,10 @@ EXTENSIONS = {
'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'},
@@ -29,6 +32,7 @@ EXTENSIONS = {
'coffee': {'text', 'coffee'},
'conf': {'text'},
'cpp': {'text', 'c++'},
+ 'cppm': {'text', 'c++'},
'cr': {'text', 'crystal'},
'crt': {'text', 'pem'},
'cs': {'text', 'c#'},
@@ -41,6 +45,7 @@ EXTENSIONS = {
'cue': {'text', 'cue'},
'cuh': {'text', 'cuda'},
'cxx': {'text', 'c++'},
+ 'cxxm': {'text', 'c++'},
'cylc': {'text', 'cylc'},
'dart': {'text', 'dart'},
'dbc': {'text', 'dbc'},
@@ -101,6 +106,7 @@ EXTENSIONS = {
'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'},