diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-06-15 14:29:13 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2022-06-15 14:29:13 +0200 |
| commit | 664a751f2b5abc3cc0fed5bb21d243e7e5bc31b8 (patch) | |
| tree | 391e62b019480aa711078db98be2fdee2b278b0f /editors/code | |
| parent | 002447d6cbdb19b80c998792486b655f0bd53365 (diff) | |
| download | rust-664a751f2b5abc3cc0fed5bb21d243e7e5bc31b8.tar.gz rust-664a751f2b5abc3cc0fed5bb21d243e7e5bc31b8.zip | |
fix: Clear proc-macro changed flag when reloading workspace
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/src/ctx.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |
