Fallback to html when syntax is not supported by emmet

This commit is contained in:
Ramya Achutha Rao 2017-08-02 15:31:02 -07:00
parent da90dbf82e
commit 310339fb1e

View file

@ -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;
}