mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Support xhtml as output profile
This commit is contained in:
parent
aaa3049e3c
commit
5e2d92d269
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in a new issue