Skip to content

Commit

Permalink
πŸ› reload settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Dec 4, 2023
1 parent 3e0c040 commit a3a2e9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/whitespace-Plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class ShowWhitespacePlugin extends Plugin {

public onExternalSettingsChange = debounce(
async () => {
this.settings = Object.assign({}, this.settings, await this.loadData());
this.removeClasses();
this.initClasses();
console.debug("(SW-CM6) external settings changed");
Expand Down

0 comments on commit a3a2e9c

Please sign in to comment.