vscode: groupd updates-related config under updates section as per @matklad

This commit is contained in:
Veetaha 2020-03-09 10:59:36 +02:00
parent de99fa7199
commit ce65cc949f
3 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ To disable this notification put the following to `settings.json`
[source,json]
----
{ "rust-analyzer.askBeforeDownload": false }
{ "rust-analyzer.updates.askBeforeDownload": false }
----
====

View file

@ -219,7 +219,7 @@
}
}
},
"rust-analyzer.askBeforeDownload": {
"rust-analyzer.updates.askBeforeDownload": {
"type": "boolean",
"default": true,
"description": "Whether to ask for permission before downloading any files from the Internet"

View file

@ -134,7 +134,7 @@ export class Config {
file: prebuiltBinaryName,
storage: this.ctx.globalState,
tag: Config.extensionVersion,
askBeforeDownload: this.cfg.get("askBeforeDownload") as boolean,
askBeforeDownload: this.cfg.get("updates.askBeforeDownload") as boolean,
repo: {
name: "rust-analyzer",
owner: "rust-analyzer",