Add .xsl to xml file extensions

This commit is contained in:
Alf Eaton 2019-07-19 08:47:41 +01:00
parent c002f7424f
commit 989b7a9e71

View file

@ -8,7 +8,7 @@ import { registerLanguage } from '../_.contribution';
registerLanguage({
id: 'xml',
extensions: ['.xml', '.dtd', '.ascx', '.csproj', '.config', '.wxi', '.wxl', '.wxs', '.xaml', '.svg', '.svgz', '.opf'],
extensions: ['.xml', '.dtd', '.ascx', '.csproj', '.config', '.wxi', '.wxl', '.wxs', '.xaml', '.svg', '.svgz', '.opf', '.xsl'],
firstLine: '(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)',
aliases: ['XML', 'xml'],
mimetypes: ['text/xml', 'application/xml', 'application/xaml+xml', 'application/xml-dtd'],