diff options
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r-- | editors/code/src/main.ts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 9500219ca..f96fb1962 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -9,7 +9,7 @@ import { StatusDisplay } from './commands/watch_status'; | |||
9 | import * as events from './events'; | 9 | import * as events from './events'; |
10 | import * as notifications from './notifications'; | 10 | import * as notifications from './notifications'; |
11 | import { Server } from './server'; | 11 | import { Server } from './server'; |
12 | import { Ctx } from './ctx' | 12 | import { Ctx } from './ctx'; |
13 | 13 | ||
14 | let ctx!: Ctx; | 14 | let ctx!: Ctx; |
15 | 15 | ||
@@ -94,15 +94,15 @@ export async function activate(context: vscode.ExtensionContext) { | |||
94 | string, | 94 | string, |
95 | lc.GenericNotificationHandler, | 95 | lc.GenericNotificationHandler, |
96 | ]> = [ | 96 | ]> = [ |
97 | [ | 97 | [ |
98 | 'rust-analyzer/publishDecorations', | 98 | 'rust-analyzer/publishDecorations', |
99 | notifications.publishDecorations.handle, | 99 | notifications.publishDecorations.handle, |
100 | ], | 100 | ], |
101 | [ | 101 | [ |
102 | '$/progress', | 102 | '$/progress', |
103 | params => watchStatus.handleProgressNotification(params), | 103 | params => watchStatus.handleProgressNotification(params), |
104 | ], | 104 | ], |
105 | ]; | 105 | ]; |
106 | const syntaxTreeContentProvider = new SyntaxTreeContentProvider(); | 106 | const syntaxTreeContentProvider = new SyntaxTreeContentProvider(); |
107 | const expandMacroContentProvider = new ExpandMacroContentProvider(); | 107 | const expandMacroContentProvider = new ExpandMacroContentProvider(); |
108 | 108 | ||