mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00: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:
parent
8ff94eaf27
commit
d2f506845e
|
@ -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'
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue