mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
fix: Clear proc-macro changed flag when reloading workspace
This commit is contained in:
parent
002447d6cb
commit
664a751f2b
3 changed files with 4 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue