summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS2
-rw-r--r--CHANGES4
-rw-r--r--pygments/lexers/_mapping.py2
-rw-r--r--pygments/lexers/web.py6
4 files changed, 7 insertions, 7 deletions
diff --git a/AUTHORS b/AUTHORS
index 6db0490c..4208197d 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -27,7 +27,7 @@ Other contributors, listed alphabetically, are:
* Leaf Corcoran -- MoonScript lexer
* Christopher Creutzig -- MuPAD lexer
* Pete Curry -- bugfixes
-* Owen Durni -- haXe lexer
+* Owen Durni -- Haxe lexer
* Nick Efford -- Python 3 lexer
* Sven Efftinge -- Xtend lexer
* Artem Egorkine -- terminal256 formatter
diff --git a/CHANGES b/CHANGES
index 31322f30..a3c8344d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -199,7 +199,7 @@ Version 1.3
* Ada
* Coldfusion
* Modula-2
- * haXe
+ * Haxe
* R console
* Objective-J
* Haml and Sass
@@ -258,7 +258,7 @@ Version 1.2
* CMake
* Ooc
* Coldfusion
- * haXe
+ * Haxe
* R console
- Added options for rendering LaTeX in source code comments in the
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']