mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Sacrifice for the semicolon god
This commit is contained in:
parent
8fe20b19d4
commit
ad02bfe58f
2 changed files with 5 additions and 5 deletions
|
@ -74,13 +74,13 @@ export class Ctx {
|
|||
this.statusBar.color = undefined;
|
||||
break;
|
||||
case "warning":
|
||||
this.statusBar.tooltip += "\nClick to reload."
|
||||
this.statusBar.tooltip += "\nClick to reload.";
|
||||
this.statusBar.command = "rust-analyzer.reloadWorkspace";
|
||||
this.statusBar.color = new vscode.ThemeColor("notificationsWarningIcon.foreground");
|
||||
icon = "$(warning) ";
|
||||
break;
|
||||
case "error":
|
||||
this.statusBar.tooltip += "\nClick to reload."
|
||||
this.statusBar.tooltip += "\nClick to reload.";
|
||||
this.statusBar.command = "rust-analyzer.reloadWorkspace";
|
||||
this.statusBar.color = new vscode.ThemeColor("notificationsErrorIcon.foreground");
|
||||
icon = "$(error) ";
|
||||
|
|
|
@ -11,9 +11,9 @@ export const analyzerStatus = new lc.RequestType<AnalyzerStatusParams, string, v
|
|||
export const memoryUsage = new lc.RequestType0<string, void>("rust-analyzer/memoryUsage");
|
||||
|
||||
export interface ServerStatusParams {
|
||||
health: "ok" | "warning" | "error"
|
||||
quiescent: boolean
|
||||
message?: string
|
||||
health: "ok" | "warning" | "error";
|
||||
quiescent: boolean;
|
||||
message?: string;
|
||||
}
|
||||
export const serverStatus = new lc.NotificationType<ServerStatusParams>("experimental/serverStatus");
|
||||
|
||||
|
|
Loading…
Reference in a new issue