diff options
author | Mestery <mestery@pm.me> | 2021-04-26 07:38:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 07:38:51 +0200 |
commit | 3f6244bc1d63674c4290d570ab3676040f2189ee (patch) | |
tree | 03e8a7c6a70e013265fc78362875b1e44721c843 /pygments/lexers/haskell.py | |
parent | 9ea4c265fea25f370585099836f68a22a056c282 (diff) | |
download | pygments-git-3f6244bc1d63674c4290d570ab3676040f2189ee.tar.gz |
uniformize aliases order (#1780)
* uniformize aliases order
* LighttpdConfLexer: add lighttpd.conf filename
Diffstat (limited to 'pygments/lexers/haskell.py')
-rw-r--r-- | pygments/lexers/haskell.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/haskell.py b/pygments/lexers/haskell.py index bc4b2011..74cd8dcc 100644 --- a/pygments/lexers/haskell.py +++ b/pygments/lexers/haskell.py @@ -575,7 +575,7 @@ class LiterateHaskellLexer(LiterateLexer): .. versionadded:: 0.9 """ name = 'Literate Haskell' - aliases = ['lhs', 'literate-haskell', 'lhaskell'] + aliases = ['literate-haskell', 'lhaskell', 'lhs'] filenames = ['*.lhs'] mimetypes = ['text/x-literate-haskell'] @@ -598,7 +598,7 @@ class LiterateIdrisLexer(LiterateLexer): .. versionadded:: 2.0 """ name = 'Literate Idris' - aliases = ['lidr', 'literate-idris', 'lidris'] + aliases = ['literate-idris', 'lidris', 'lidr'] filenames = ['*.lidr'] mimetypes = ['text/x-literate-idris'] @@ -621,7 +621,7 @@ class LiterateAgdaLexer(LiterateLexer): .. versionadded:: 2.0 """ name = 'Literate Agda' - aliases = ['lagda', 'literate-agda'] + aliases = ['literate-agda', 'lagda'] filenames = ['*.lagda'] mimetypes = ['text/x-literate-agda'] @@ -644,7 +644,7 @@ class LiterateCryptolLexer(LiterateLexer): .. versionadded:: 2.0 """ name = 'Literate Cryptol' - aliases = ['lcry', 'literate-cryptol', 'lcryptol'] + aliases = ['literate-cryptol', 'lcryptol', 'lcry'] filenames = ['*.lcry'] mimetypes = ['text/x-literate-cryptol'] |