Skip to content

Commit

Permalink
fix: reset statusbar on file change
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Jun 21, 2021
1 parent 69074b9 commit f1f36c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/StatusBarService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class StatusBarService {
return [
// Keep track whether to show/hide the statusbar
window.onDidChangeActiveTextEditor((editor: TextEditor | undefined) => {
this.updateStatusBarItem(FormatterStatus.Ready);
this.toggleStatusBarItem(editor);
}),
];
Expand Down

0 comments on commit f1f36c0

Please sign in to comment.