about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2021-04-06 15:50:02 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2021-04-06 15:50:02 +0300
commitad02bfe58fd52293d9ae4a049f98f475df9d3abb (patch)
treebe93b491fdefe0fb217dfb5aa9f1791ea672f196 /editors/code/src
parent8fe20b19d4702fc6d6933c31abddc8539d2581f0 (diff)
downloadrust-ad02bfe58fd52293d9ae4a049f98f475df9d3abb.tar.gz
rust-ad02bfe58fd52293d9ae4a049f98f475df9d3abb.zip
Sacrifice for the semicolon god
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/ctx.ts4
-rw-r--r--editors/code/src/lsp_ext.ts6
2 files changed, 5 insertions, 5 deletions
diff --git a/editors/code/src/ctx.ts b/editors/code/src/ctx.ts
index c05e757f864..bd023f803e7 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 2e1744f1bff..e453bb9e0bc 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<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");