summaryrefslogtreecommitdiffstats
path: root/identify
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-12 08:26:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-12 08:26:56 +0000
commit3a17f8c8fea107ffac985330d812f9f573625015 (patch)
treedc893957f43ad972b6bf9b4299d21137667e9b4c /identify
parentReleasing debian version 2.5.27-1. (diff)
downloadidentify-3a17f8c8fea107ffac985330d812f9f573625015.tar.xz
identify-3a17f8c8fea107ffac985330d812f9f573625015.zip
Merging upstream version 2.5.28.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'identify')
-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'},