add emmet support for .erb and .php files
This commit is contained in:
parent
31ef729c46
commit
ebe79ba20c
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue