Parcourir la source

[xml] Add OPF and XSL file extensions (#64)

[xml] Add OPF and XSL file extensions
Alexandru Dima il y a 6 ans
Parent
commit
e9de765a1e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/xml/xml.contribution.ts

+ 1 - 1
src/xml/xml.contribution.ts

@@ -8,7 +8,7 @@ import { registerLanguage } from '../_.contribution';
 
 registerLanguage({
 	id: 'xml',
-	extensions: ['.xml', '.dtd', '.ascx', '.csproj', '.config', '.wxi', '.wxl', '.wxs', '.xaml', '.svg', '.svgz'],
+	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'],