Fallback to html when syntax is not supported by emmet
This commit is contained in:
parent
da90dbf82e
commit
310339fb1e
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,8 @@ export function wrapIndividualLinesWithAbbreviation(args) {
|
|||
}
|
||||
|
||||
export function expandEmmetAbbreviation(args) {
|
||||
const syntax = getSyntaxFromArgs(args);
|
||||
if (!syntax || !validate()) {
|
||||
const syntax = getSyntaxFromArgs(args) || 'html';
|
||||
if (!validate()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue