aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/user/readme.adoc2
-rw-r--r--editors/code/package.json2
-rw-r--r--editors/code/src/config.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index d2feac0d7..e5843ed70 100644
--- a/docs/user/readme.adoc
+++ b/docs/user/readme.adoc
@@ -53,7 +53,7 @@ To disable this notification put the following to `settings.json`
53 53
54[source,json] 54[source,json]
55---- 55----
56{ "rust-analyzer.askBeforeDownload": false } 56{ "rust-analyzer.updates.askBeforeDownload": false }
57---- 57----
58==== 58====
59 59
diff --git a/editors/code/package.json b/editors/code/package.json
index 430a61c64..6827c822b 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -219,7 +219,7 @@
219 } 219 }
220 } 220 }
221 }, 221 },
222 "rust-analyzer.askBeforeDownload": { 222 "rust-analyzer.updates.askBeforeDownload": {
223 "type": "boolean", 223 "type": "boolean",
224 "default": true, 224 "default": true,
225 "description": "Whether to ask for permission before downloading any files from the Internet" 225 "description": "Whether to ask for permission before downloading any files from the Internet"
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 948c12c2d..b72206d3c 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -134,7 +134,7 @@ export class Config {
134 file: prebuiltBinaryName, 134 file: prebuiltBinaryName,
135 storage: this.ctx.globalState, 135 storage: this.ctx.globalState,
136 tag: Config.extensionVersion, 136 tag: Config.extensionVersion,
137 askBeforeDownload: this.cfg.get("askBeforeDownload") as boolean, 137 askBeforeDownload: this.cfg.get("updates.askBeforeDownload") as boolean,
138 repo: { 138 repo: {
139 name: "rust-analyzer", 139 name: "rust-analyzer",
140 owner: "rust-analyzer", 140 owner: "rust-analyzer",