From ad02bfe58fd52293d9ae4a049f98f475df9d3abb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 6 Apr 2021 15:50:02 +0300 Subject: Sacrifice for the semicolon god --- editors/code/src/ctx.ts | 4 ++-- editors/code/src/lsp_ext.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'editors') diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts index c05e757f8..bd023f803 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 2e1744f1b..e453bb9e0 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"); -- cgit v1.2.3