diff options
author | Aleksey Kladov <[email protected]> | 2019-12-31 16:28:01 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-31 16:28:01 +0000 |
commit | 433000be34eafd052addd91afd605a81e137a433 (patch) | |
tree | 95d30e894b6583f2d743fc94e3e866bc29750362 /editors/code/src/main.ts | |
parent | e4b588868f822b9c200a8ce77d24bfab5aeca4b8 (diff) |
Move config to Ctx
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); |