diff options
author | Georg Brandl <georg@python.org> | 2013-05-19 11:57:06 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-05-19 11:57:06 +0200 |
commit | 4f8ffd30e963bb4a7c8691a32c91279e114ecf8b (patch) | |
tree | 81480e78c2bd8162da65a91dbb5203bf14fb0c81 /pygments/lexers/web.py | |
parent | 868af24ee48a7ef8373bb762a8b886d7ab7cbe23 (diff) | |
download | pygments-4f8ffd30e963bb4a7c8691a32c91279e114ecf8b.tar.gz |
Closes #850: recognize .wsf as XML files.
Diffstat (limited to 'pygments/lexers/web.py')
-rw-r--r-- | pygments/lexers/web.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py index eb14d4c6..142fef57 100644 --- a/pygments/lexers/web.py +++ b/pygments/lexers/web.py @@ -1008,7 +1008,8 @@ class XmlLexer(RegexLexer): name = 'XML' aliases = ['xml'] - filenames = ['*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl'] + filenames = ['*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', + '*.wsdl', '*.wsf'] mimetypes = ['text/xml', 'application/xml', 'image/svg+xml', 'application/rss+xml', 'application/atom+xml'] |