Skip to content

Commit

Permalink
Auto merge of rust-lang#12435 - jhgg:vscode/status-bar-color-fix, r=V…
Browse files Browse the repository at this point in the history
…eykril

[editors/vscode] cleaer status bar bg color / command  when server status returns to OK

fixes rust-lang#12433
  • Loading branch information
bors committed Jun 1, 2022
2 parents e25cbf8 + a965161 commit 30672cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editors/code/src/ctx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ export class Ctx {
let icon = "";
switch (status.health) {
case "ok":
this.statusBar.command = undefined;
this.statusBar.color = undefined;
this.statusBar.backgroundColor = undefined;
break;
case "warning":
this.statusBar.tooltip += "\nClick to reload.";
Expand Down

0 comments on commit 30672cb

Please sign in to comment.