Issue #850 resolved

Recognize *.wsf as XML file

Thomas Aglassinger
created an issue

Please extend the XmlLexer so that it also recognizes *.wsf as XML files. These are Windows script files as described in Basically, they are valid XML files containing VBScript scripts and also allow to include other VBScripts and an online help for the command line parameters.

This should be easy to implement by adding the extension to lexers.web.XmlLexer:

class XmlLexer(RegexLexer):
    filenames = ['*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl', '*.wsf']

Comments (2)

  1. Log in to comment