diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index c05e757f86..bd023f803e 100644 --- a/editors/code/src/ctx.ts +++ b/editors/code/src/ctx.ts @@ -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) "; diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index 2e1744f1bf..e453bb9e0b 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts @@ -11,9 +11,9 @@ export const analyzerStatus = new lc.RequestType("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("experimental/serverStatus");