summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatth?us G. Chajdas <dev@anteru.net>2019-02-12 16:09:53 +0100
committerMatth?us G. Chajdas <dev@anteru.net>2019-02-12 16:09:53 +0100
commita1db49fc6bb671f38808e0db94fe6590ab01bd19 (patch)
treec708fde87cae4355ff4572aac4f9a056987b19a1
parent77e24d5ab193f6c3fa8492f5410a2e841f9ebfad (diff)
downloadpygments-a1db49fc6bb671f38808e0db94fe6590ab01bd19.tar.gz
Don't use Charm++ CI for C++ reserved MIME types.
-rw-r--r--pygments/lexers/_mapping.py2
-rw-r--r--pygments/lexers/c_like.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index 8085bb8a..331dadf3 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -80,7 +80,7 @@ LEXERS = {
'Cfengine3Lexer': ('pygments.lexers.configs', 'CFEngine3', ('cfengine3', 'cf3'), ('*.cf',), ()),
'ChaiscriptLexer': ('pygments.lexers.scripting', 'ChaiScript', ('chai', 'chaiscript'), ('*.chai',), ('text/x-chaiscript', 'application/x-chaiscript')),
'ChapelLexer': ('pygments.lexers.chapel', 'Chapel', ('chapel', 'chpl'), ('*.chpl',), ()),
- 'CharmciLexer': ('pygments.lexers.c_like', 'Charmci', ('charmci',), ('*.ci',), ('text/x-c++hdr', 'text/x-c++src')),
+ 'CharmciLexer': ('pygments.lexers.c_like', 'Charmci', ('charmci',), ('*.ci',), ()),
'CheetahHtmlLexer': ('pygments.lexers.templates', 'HTML+Cheetah', ('html+cheetah', 'html+spitfire', 'htmlcheetah'), (), ('text/html+cheetah', 'text/html+spitfire')),
'CheetahJavascriptLexer': ('pygments.lexers.templates', 'JavaScript+Cheetah', ('js+cheetah', 'javascript+cheetah', 'js+spitfire', 'javascript+spitfire'), (), ('application/x-javascript+cheetah', 'text/x-javascript+cheetah', 'text/javascript+cheetah', 'application/x-javascript+spitfire', 'text/x-javascript+spitfire', 'text/javascript+spitfire')),
'CheetahLexer': ('pygments.lexers.templates', 'Cheetah', ('cheetah', 'spitfire'), ('*.tmpl', '*.spt'), ('application/x-cheetah', 'application/x-spitfire')),
diff --git a/pygments/lexers/c_like.py b/pygments/lexers/c_like.py
index ba735a6b..58372b81 100644
--- a/pygments/lexers/c_like.py
+++ b/pygments/lexers/c_like.py
@@ -549,6 +549,8 @@ class CharmciLexer(CppLexer):
aliases = ['charmci']
filenames = ['*.ci']
+ mimetypes = []
+
tokens = {
'statements': [
(r'(module)(\s+)', bygroups(Keyword, Text), 'classname'),