aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src
diff options
context:
space:
mode:
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 c05e757f8..bd023f803 100644
--- a/editors/code/src/ctx.ts
+++ b/editors/code/src/ctx.ts
@@ -74,13 +74,13 @@ export class Ctx {
74 this.statusBar.color = undefined; 74 this.statusBar.color = undefined;
75 break; 75 break;
76 case "warning": 76 case "warning":
77 this.statusBar.tooltip += "\nClick to reload." 77 this.statusBar.tooltip += "\nClick to reload.";
78 this.statusBar.command = "rust-analyzer.reloadWorkspace"; 78 this.statusBar.command = "rust-analyzer.reloadWorkspace";
79 this.statusBar.color = new vscode.ThemeColor("notificationsWarningIcon.foreground"); 79 this.statusBar.color = new vscode.ThemeColor("notificationsWarningIcon.foreground");
80 icon = "$(warning) "; 80 icon = "$(warning) ";
81 break; 81 break;
82 case "error": 82 case "error":
83 this.statusBar.tooltip += "\nClick to reload." 83 this.statusBar.tooltip += "\nClick to reload.";
84 this.statusBar.command = "rust-analyzer.reloadWorkspace"; 84 this.statusBar.command = "rust-analyzer.reloadWorkspace";
85 this.statusBar.color = new vscode.ThemeColor("notificationsErrorIcon.foreground"); 85 this.statusBar.color = new vscode.ThemeColor("notificationsErrorIcon.foreground");
86 icon = "$(error) "; 86 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<AnalyzerStatusParams, string, v
11export const memoryUsage = new lc.RequestType0<string, void>("rust-analyzer/memoryUsage"); 11export const memoryUsage = new lc.RequestType0<string, void>("rust-analyzer/memoryUsage");
12 12
13export interface ServerStatusParams { 13export interface ServerStatusParams {
14 health: "ok" | "warning" | "error" 14 health: "ok" | "warning" | "error";
15 quiescent: boolean 15 quiescent: boolean;
16 message?: string 16 message?: string;
17} 17}
18export const serverStatus = new lc.NotificationType<ServerStatusParams>("experimental/serverStatus"); 18export const serverStatus = new lc.NotificationType<ServerStatusParams>("experimental/serverStatus");
19 19