mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 21:11:38 +01:00
Use new helper extractAbbreviation function
This commit is contained in:
@@ -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, '', ''];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user