mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Move config to Ctx
This commit is contained in:
parent
e4b588868f
commit
433000be34
3 changed files with 5 additions and 7 deletions
|
@ -31,7 +31,7 @@ export async function activate(context: vscode.ExtensionContext) {
|
|||
ctx.overrideCommand('type', commands.onEnter);
|
||||
}
|
||||
|
||||
const startServer = () => Server.start();
|
||||
const startServer = () => Server.start(ctx.config);
|
||||
const reloadCommand = () => reloadServer(startServer);
|
||||
|
||||
vscode.commands.registerCommand('rust-analyzer.reload', reloadCommand);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue