summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorAndy <andy@onthewings.net>2012-11-09 19:59:51 +0800
committerAndy <andy@onthewings.net>2012-11-09 19:59:51 +0800
commitbb32ac3f7fd64fd3efbb271558d613cef09e7854 (patch)
tree8ec27a8a63645e96fa630c879a6c7312ce39ee7c /pygments
parentbc1fea9cf1220e27625e0ec33c8ef9d81e8987dc (diff)
downloadpygments-bb32ac3f7fd64fd3efbb271558d613cef09e7854.tar.gz
Renamed haXe to Haxe, according to https://groups.google.com/forum/#!topic/haxelang/O7PB-ZrX4i4/discussion
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/_mapping.py2
-rw-r--r--pygments/lexers/web.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index 0eca2682..2297036c 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -114,7 +114,7 @@ LEXERS = {
'GroovyLexer': ('pygments.lexers.jvm', 'Groovy', ('groovy',), ('*.groovy',), ('text/x-groovy',)),
'HamlLexer': ('pygments.lexers.web', 'Haml', ('haml', 'HAML'), ('*.haml',), ('text/x-haml',)),
'HaskellLexer': ('pygments.lexers.functional', 'Haskell', ('haskell', 'hs'), ('*.hs',), ('text/x-haskell',)),
- 'HaxeLexer': ('pygments.lexers.web', 'haXe', ('hx', 'haXe'), ('*.hx',), ('text/haxe',)),
+ 'HaxeLexer': ('pygments.lexers.web', 'Haxe', ('hx', 'Haxe'), ('*.hx',), ('text/haxe',)),
'HtmlDjangoLexer': ('pygments.lexers.templates', 'HTML+Django/Jinja', ('html+django', 'html+jinja'), (), ('text/html+django', 'text/html+jinja')),
'HtmlGenshiLexer': ('pygments.lexers.templates', 'HTML+Genshi', ('html+genshi', 'html+kid'), (), ('text/html+genshi',)),
'HtmlLexer': ('pygments.lexers.web', 'HTML', ('html',), ('*.html', '*.htm', '*.xhtml', '*.xslt'), ('text/html', 'application/xhtml+xml')),
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index 79245d34..f0ef1ca7 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -1126,13 +1126,13 @@ class MxmlLexer(RegexLexer):
class HaxeLexer(RegexLexer):
"""
- For haXe source code (http://haxe.org/).
+ For Haxe source code (http://haxe.org/).
*New in Pygments 1.3.*
"""
- name = 'haXe'
- aliases = ['hx', 'haXe']
+ name = 'Haxe'
+ aliases = ['hx', 'Haxe']
filenames = ['*.hx']
mimetypes = ['text/haxe']