diff options
author | Steve Spigarelli <spig@spig.net> | 2010-10-28 23:57:26 -0600 |
---|---|---|
committer | Steve Spigarelli <spig@spig.net> | 2010-10-28 23:57:26 -0600 |
commit | 477fcbe2b4acfca8c73307f115740a2e384cc36e (patch) | |
tree | 4f4a083c40781ad7aaa4b1f04f00ac39baa01553 /pygments/lexers/_mapping.py | |
parent | b1020ac9d1dd036f02c5879a621959c5fd5fe2ec (diff) | |
download | pygments-477fcbe2b4acfca8c73307f115740a2e384cc36e.tar.gz |
added new xquery lexer
added new examplefile testing some of the functionality of the xquery lexer
updated _mapping file to include xquery/xqy file types to user xquery lexer
Diffstat (limited to 'pygments/lexers/_mapping.py')
-rw-r--r-- | pygments/lexers/_mapping.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py index b444824d..025cba7a 100644 --- a/pygments/lexers/_mapping.py +++ b/pygments/lexers/_mapping.py @@ -202,6 +202,7 @@ LEXERS = { 'XmlLexer': ('pygments.lexers.web', 'XML', ('xml',), ('*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl'), ('text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml', 'application/xsl+xml', 'application/xslt+xml')), 'XmlPhpLexer': ('pygments.lexers.templates', 'XML+PHP', ('xml+php',), (), ('application/xml+php',)), 'XmlSmartyLexer': ('pygments.lexers.templates', 'XML+Smarty', ('xml+smarty',), (), ('application/xml+smarty',)), + 'XQueryLexer': ('pygments.lexers.xquery', 'XQuery', ('xquery', 'xqy'), ('*.xqy', '*.xquery'), ('text/xquery', 'application/xquery')), 'XsltLexer': ('pygments.lexers.web', 'XSLT', ('xslt',), ('*.xsl', '*.xslt'), ('text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml', 'application/xsl+xml', 'application/xslt+xml')), 'YamlLexer': ('pygments.lexers.text', 'YAML', ('yaml',), ('*.yaml', '*.yml'), ('text/x-yaml',)) } |