Add text/ng-template to the HTML mime types to enable HTML highlighting/help in Angular templates with in <script> blocks

This commit is contained in:
Joe Skeen 2015-11-18 10:41:34 -07:00
parent 8ff94eaf27
commit d2f506845e

View file

@ -10,7 +10,7 @@ modesExtensions.registerMode({
id: 'html',
extensions: ['.html', '.htm', '.shtml', '.mdoc', '.jsp', '.asp', '.aspx', '.jshtm'],
aliases: ['HTML', 'htm', 'html', 'xhtml'],
mimetypes: ['text/html', 'text/x-jshtm', 'text/template'],
mimetypes: ['text/html', 'text/x-jshtm', 'text/template', 'text/ng-template'],
moduleId: 'vs/languages/html/common/html',
ctorName: 'HTMLMode'
});