Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/ctx.ts')
-rw-r--r--editors/code/src/ctx.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts
index 51781b4205..10063470f7 100644
--- a/editors/code/src/ctx.ts
+++ b/editors/code/src/ctx.ts
@@ -77,10 +77,10 @@ export class Ctx {
}
setServerStatus(status: ServerStatusParams) {
- this.statusBar.tooltip = status.message ?? "Ready";
let icon = "";
switch (status.health) {
case "ok":
+ this.statusBar.tooltip = status.message ?? "Ready";
this.statusBar.command = undefined;
this.statusBar.color = undefined;
this.statusBar.backgroundColor = undefined;
@@ -105,7 +105,7 @@ export class Ctx {
break;
}
if (!status.quiescent) icon = "$(sync~spin) ";
- this.statusBar.text = `${icon} rust-analyzer`;
+ this.statusBar.text = `${icon}rust-analyzer`;
}
pushCleanup(d: Disposable) {