mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-25 15:35:43 +01:00
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:
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user