Skip to content

Commit ce65cc9

Browse files
author
Veetaha
committed
vscode: groupd updates-related config under updates section as per @matklad
1 parent de99fa7 commit ce65cc9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/user/readme.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To disable this notification put the following to `settings.json`
5353
5454
[source,json]
5555
----
56-
{ "rust-analyzer.askBeforeDownload": false }
56+
{ "rust-analyzer.updates.askBeforeDownload": false }
5757
----
5858
====
5959

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
}
220220
}
221221
},
222-
"rust-analyzer.askBeforeDownload": {
222+
"rust-analyzer.updates.askBeforeDownload": {
223223
"type": "boolean",
224224
"default": true,
225225
"description": "Whether to ask for permission before downloading any files from the Internet"

editors/code/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class Config {
134134
file: prebuiltBinaryName,
135135
storage: this.ctx.globalState,
136136
tag: Config.extensionVersion,
137-
askBeforeDownload: this.cfg.get("askBeforeDownload") as boolean,
137+
askBeforeDownload: this.cfg.get("updates.askBeforeDownload") as boolean,
138138
repo: {
139139
name: "rust-analyzer",
140140
owner: "rust-analyzer",

0 commit comments

Comments
 (0)