diff options
author | Tim Hatch <tim@timhatch.com> | 2014-04-14 14:45:19 -0400 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-04-14 14:45:19 -0400 |
commit | 7c91c9389549d1a29e15554e21c148b31b7911cc (patch) | |
tree | 91f871b1102f40799de16fd1bcca94aec6b49b7a | |
parent | cd47c1637069ad816840e8300518c568e7dd58f0 (diff) | |
download | pygments-7c91c9389549d1a29e15554e21c148b31b7911cc.tar.gz |
Minor changes to limbo lexer
-rw-r--r-- | pygments/lexers/_mapping.py | 1 | ||||
-rw-r--r-- | pygments/lexers/inferno.py | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py index f93afea8..c3d04ef8 100644 --- a/pygments/lexers/_mapping.py +++ b/pygments/lexers/_mapping.py @@ -182,6 +182,7 @@ LEXERS = { 'LassoLexer': ('pygments.lexers.web', 'Lasso', ('lasso', 'lassoscript'), ('*.lasso', '*.lasso[89]'), ('text/x-lasso',)), 'LassoXmlLexer': ('pygments.lexers.templates', 'XML+Lasso', ('xml+lasso',), (), ('application/xml+lasso',)), 'LighttpdConfLexer': ('pygments.lexers.text', 'Lighttpd configuration file', ('lighty', 'lighttpd'), (), ('text/x-lighttpd-conf',)), + 'LimboLexer': ('pygments.lexers.inferno', 'Limbo', ('limbo',), ('*.b',), ('text/limbo',)), 'LiterateAgdaLexer': ('pygments.lexers.functional', 'Literate Agda', ('lagda', 'literate-agda'), ('*.lagda',), ('text/x-literate-agda',)), 'LiterateHaskellLexer': ('pygments.lexers.functional', 'Literate Haskell', ('lhs', 'literate-haskell', 'lhaskell'), ('*.lhs',), ('text/x-literate-haskell',)), 'LiterateIdrisLexer': ('pygments.lexers.functional', 'Literate Idris', ('lidr', 'literate-idris', 'lidris'), ('*.lidr',), ('text/x-literate-idris',)), diff --git a/pygments/lexers/inferno.py b/pygments/lexers/inferno.py index d99cd269..16a7014b 100644 --- a/pygments/lexers/inferno.py +++ b/pygments/lexers/inferno.py @@ -1,4 +1,3 @@ - # -*- coding: utf-8 -*- """ pygments.lexers.inferno @@ -21,10 +20,10 @@ from pygments.util import get_bool_opt __all__ = ['LimboLexer'] + class LimboLexer(RegexLexer): """ - Lexer for Limbo programming language - see (http://www.vitanuova.com/inferno/limbo.html) + Lexer for `Limbo programming language <http://www.vitanuova.com/inferno/limbo.html>`_ TODO: - maybe implement better var declaration highlighting @@ -97,4 +96,4 @@ class LimboLexer(RegexLexer): # - shell scripts # - maybe keyfiles and fonts # they all seem to be quite similar to their equivalents -# from unix world, so there should not be a lot of problems
\ No newline at end of file +# from unix world, so there should not be a lot of problems |