Skip to content

Commit

Permalink
Follow-up fix for #11003
Browse files Browse the repository at this point in the history
  • Loading branch information
egamma committed Sep 1, 2016
1 parent 49ab742 commit 7931b5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/vs/workbench/parts/emmet/node/emmetActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,12 @@ class LazyEmmet {

private updateEmmetPreferences(configurationService: IConfigurationService, _emmet: typeof emmet) {
let emmetPreferences = configurationService.getConfiguration<IEmmetConfiguration>().emmet;
_emmet.loadPreferences(emmetPreferences.preferences);
_emmet.loadProfiles(emmetPreferences.syntaxProfiles);
try {
_emmet.loadPreferences(emmetPreferences.preferences);
_emmet.loadProfiles(emmetPreferences.syntaxProfiles);
} catch (err) {
// ignore
}
}

private resetEmmetPreferences(configurationService: IConfigurationService, _emmet: typeof emmet) {
Expand Down

0 comments on commit 7931b5e

Please sign in to comment.