summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authoramacarthur <devnull@localhost>2012-10-29 08:56:03 -0400
committeramacarthur <devnull@localhost>2012-10-29 08:56:03 -0400
commit8b0910e8c08498859c7c7aade776b6dfd1a5cf3c (patch)
tree9a5287d76967924a7ce8b594f7fedd6c1d4a180a /pygments
parent0125230c74654fd2da327aece1cd0f236519760c (diff)
downloadpygments-8b0910e8c08498859c7c7aade776b6dfd1a5cf3c.tar.gz
fixing qml
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/_mapping.py2
-rw-r--r--pygments/lexers/web.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index 88b21c6e..386249ef 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -210,7 +210,7 @@ LEXERS = {
'PythonConsoleLexer': ('pygments.lexers.agile', 'Python console session', ('pycon',), (), ('text/x-python-doctest',)),
'PythonLexer': ('pygments.lexers.agile', 'Python', ('python', 'py', 'sage'), ('*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac', '*.sage'), ('text/x-python', 'application/x-python')),
'PythonTracebackLexer': ('pygments.lexers.agile', 'Python Traceback', ('pytb',), ('*.pytb',), ('text/x-python-traceback',)),
- 'QmlLexer': ('pygments.lexers.web', 'Qt modeling Language', ('QML', 'Qt Meta Language'), ('*.qml',), ('application/x-qml',)),
+ 'QmlLexer': ('pygments.lexers.web', 'QML', ('qml', 'Qt Meta Language', 'Qt modeling Language'), ('*.qml',), ('application/x-qml',)),
'RConsoleLexer': ('pygments.lexers.math', 'RConsole', ('rconsole', 'rout'), ('*.Rout',), ()),
'RacketLexer': ('pygments.lexers.functional', 'Racket', ('racket', 'rkt'), ('*.rkt', '*.rktl'), ('text/x-racket', 'application/x-racket')),
'RagelCLexer': ('pygments.lexers.parsers', 'Ragel in C Host', ('ragel-c',), ('*.rl',), ()),
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index 6f92fb2d..82e4e0a6 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -3215,8 +3215,8 @@ class QmlLexer(RegexLexer):
QMl is based on javascript, so much of this is taken from the JavascriptLexer above.
"""
- name = 'Qt modeling Language'
- aliases = ['QML', 'Qt Meta Language']
+ name = 'QML'
+ aliases = ['qml', 'Qt Meta Language', 'Qt modeling Language']
filenames = ['*.qml',]
mimetypes = [ 'application/x-qml',]