add emmet support for .erb and .php files

This commit is contained in:
mahmoud yousef 2016-02-01 16:12:10 +02:00
parent 31ef729c46
commit ebe79ba20c

View file

@ -19,7 +19,7 @@ export class EditorAccessor implements emmet.Editor {
lineStarts: number[] = null;
emmetSupportedModes = ['html', 'razor', 'css', 'less', 'scss', 'xml', 'xsl', 'jade', 'handlebars', 'hbs', 'jsx', 'tsx'];
emmetSupportedModes = ['html', 'razor', 'css', 'less', 'scss', 'xml', 'xsl', 'jade', 'handlebars', 'hbs', 'jsx', 'tsx', 'erb', 'php'];
constructor(editor: ICommonCodeEditor) {
this.editor = editor;
@ -198,4 +198,4 @@ export class EditorAccessor implements emmet.Editor {
let value = this.editor.getModel().getValue();
return strings.computeLineStarts(value);
}
}
}