Sacrifice for the semicolon god
This commit is contained in:
parent
8fe20b19d4
commit
ad02bfe58f
@ -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 New Issue
Block a user