diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-08-22 17:13:49 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2022-08-22 17:13:49 +0200 |
| commit | b19f78b022dfbbc5699ba4de9fd967fe8da628a0 (patch) | |
| tree | 96ea562f316ab9757b0f7830609d9c93737123ec /editors/code/src/client.ts | |
| parent | dea163970a94f05d56e482c423df1cd379c8735c (diff) | |
| download | rust-b19f78b022dfbbc5699ba4de9fd967fe8da628a0.tar.gz rust-b19f78b022dfbbc5699ba4de9fd967fe8da628a0.zip | |
Remove auto-config patching from the VSCode client
Diffstat (limited to 'editors/code/src/client.ts')
| -rw-r--r-- | editors/code/src/client.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 27ab31db8db..719d2734643 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -5,7 +5,6 @@ import * as Is from "vscode-languageclient/lib/common/utils/is"; import { assert } from "./util"; import { WorkspaceEdit } from "vscode"; import { Workspace } from "./ctx"; -import { updateConfig } from "./config"; import { substituteVariablesInEnv } from "./config"; import { outputChannel, traceOutputChannel } from "./main"; import { randomUUID } from "crypto"; @@ -86,11 +85,6 @@ export async function createClient( let initializationOptions = vscode.workspace.getConfiguration("rust-analyzer"); - // Update outdated user configs - await updateConfig(initializationOptions).catch((err) => { - void vscode.window.showErrorMessage(`Failed updating old config keys: ${err.message}`); - }); - if (workspace.kind === "Detached Files") { initializationOptions = { detachedFiles: workspace.files.map((file) => file.uri.fsPath), |
