Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
[xml] Add OPF and XSL file extensions (#64)
Browse files Browse the repository at this point in the history
[xml] Add OPF and XSL file extensions
  • Loading branch information
alexdima committed Aug 12, 2019
2 parents e28160f + 989b7a9 commit e9de765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xml/xml.contribution.ts
Expand Up @@ -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'],
Expand Down

0 comments on commit e9de765

Please sign in to comment.