mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Support xhtml as output profile
This commit is contained in:
@@ -39,6 +39,11 @@ export function getProfile(syntax: string): any {
|
||||
let config = vscode.workspace.getConfiguration('emmet')['syntaxProfiles'] || {};
|
||||
let options = config[syntax];
|
||||
if (!options || typeof options === 'string') {
|
||||
if (options === 'xhtml') {
|
||||
return {
|
||||
selfClosingStyle: 'xhtml'
|
||||
};
|
||||
}
|
||||
return {};
|
||||
}
|
||||
let newOptions = {};
|
||||
|
||||
Reference in New Issue
Block a user