Browse Source

Merge pull request #126 from mwellman17/patch-1

Add text/x-yaml MIME type.
Alexandru Dima 4 years ago
parent
commit
7336c2d0a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/yaml/yaml.contribution.ts

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

@@ -9,6 +9,6 @@ registerLanguage({
 	id: 'yaml',
 	extensions: ['.yaml', '.yml'],
 	aliases: ['YAML', 'yaml', 'YML', 'yml'],
-	mimetypes: ['application/x-yaml'],
+	mimetypes: ['application/x-yaml', 'text/x-yaml'],
 	loader: () => import('./yaml')
 });