Use new helper extractAbbreviation function

This commit is contained in:
Raymond Zhao
2020-10-19 11:26:12 -07:00
parent 0c50806e8c
commit d10e2fc0e6
3 changed files with 37 additions and 11 deletions

View File

@@ -300,7 +300,7 @@ export function expandEmmetAbbreviation(args: any): Thenable<boolean | undefined
return [rangeToReplace, abbr, ''];
}
}
const extractedResults = helper.extractAbbreviation(toLSTextDocument(editor.document), position, false);
const extractedResults = helper.extractAbbreviation(toLSTextDocument(editor.document), position, { lookAhead: false });
if (!extractedResults) {
return [null, '', ''];
}