From 664a751f2b5abc3cc0fed5bb21d243e7e5bc31b8 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 15 Jun 2022 14:29:13 +0200 Subject: fix: Clear proc-macro changed flag when reloading workspace --- editors/code/src/ctx.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code/src') diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index 51781b4205c..10063470f79 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) { -- cgit 1.4.1-3-g733a5