diff options
author | Veetaha <[email protected]> | 2020-03-09 08:59:36 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-03-09 08:59:36 +0000 |
commit | ce65cc949f9e183c7c166212b4f3d7d4abd102b0 (patch) | |
tree | 1002ffdcfc2f9c51da1544fec8031600854289a2 /editors/code | |
parent | de99fa71992b0d86e245b14a946b8c4914c1be6c (diff) |
vscode: groupd updates-related config under `updates` section as per @matklad
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 2 | ||||
-rw-r--r-- | editors/code/src/config.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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", |