mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
vscode: groupd updates-related config under updates
section as per @matklad
This commit is contained in:
parent
de99fa7199
commit
ce65cc949f
3 changed files with 3 additions and 3 deletions
|
@ -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 }
|
||||
----
|
||||
====
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue