diff options
author | Aleksey Kladov <[email protected]> | 2020-07-02 11:37:04 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-02 14:32:14 +0100 |
commit | 3ef76760761d17cef4ea4e8462d9ee2ca8395467 (patch) | |
tree | dbcb0bf2cc2f43533360a4a16f3994ddb88515df /editors/code/src/lsp_ext.ts | |
parent | a03cfa49268d3938b55ceff046d04a75de8972b9 (diff) |
Implement StatusBar
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index 981b6f40e..bf4703239 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -6,6 +6,9 @@ import * as lc from "vscode-languageclient"; | |||
6 | 6 | ||
7 | export const analyzerStatus = new lc.RequestType<null, string, void>("rust-analyzer/analyzerStatus"); | 7 | export const analyzerStatus = new lc.RequestType<null, string, void>("rust-analyzer/analyzerStatus"); |
8 | 8 | ||
9 | export type Status = "loading" | "ready" | "invalid" | "needsReload"; | ||
10 | export const status = new lc.NotificationType<Status>("rust-analyzer/status"); | ||
11 | |||
9 | export const reloadWorkspace = new lc.RequestType<null, null, void>("rust-analyzer/reloadWorkspace"); | 12 | export const reloadWorkspace = new lc.RequestType<null, null, void>("rust-analyzer/reloadWorkspace"); |
10 | 13 | ||
11 | export interface SyntaxTreeParams { | 14 | export interface SyntaxTreeParams { |