diff options
Diffstat (limited to 'editors/code/src/main.ts')
-rw-r--r-- | editors/code/src/main.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/main.ts b/editors/code/src/main.ts index 511f17ca4..3d9107927 100644 --- a/editors/code/src/main.ts +++ b/editors/code/src/main.ts | |||
@@ -31,7 +31,7 @@ export async function activate(context: vscode.ExtensionContext) { | |||
31 | ctx.overrideCommand('type', commands.onEnter); | 31 | ctx.overrideCommand('type', commands.onEnter); |
32 | } | 32 | } |
33 | 33 | ||
34 | const startServer = () => Server.start(); | 34 | const startServer = () => Server.start(ctx.config); |
35 | const reloadCommand = () => reloadServer(startServer); | 35 | const reloadCommand = () => reloadServer(startServer); |
36 | 36 | ||
37 | vscode.commands.registerCommand('rust-analyzer.reload', reloadCommand); | 37 | vscode.commands.registerCommand('rust-analyzer.reload', reloadCommand); |