Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Jan 13, 2021
1 parent b52667f commit 11a683d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extensions/emmet/src/abbreviationActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const hexColorRegex = /^#[\da-fA-F]{0,6}$/;
* Both successful (accepted) and non-successful (cancelled) expansion attempts are stored.
* The expansion attempts are stored per extension reload.
*/
let wrapWithAbbreviationHistory: Set<string> = new Set();
const wrapWithAbbreviationHistory: Set<string> = new Set();

const localize = nls.loadMessageBundle();

Expand Down Expand Up @@ -302,8 +302,6 @@ function doWrapping(_: boolean, args: any) {
}
});
quickPick.onDidChangeSelection((e) => {
// this calls onDidAccept which calls onDidHide,
// so only set valueToUse here
if (e.length) {
abbreviationToUse = e[0].label;
}
Expand Down

0 comments on commit 11a683d

Please sign in to comment.