aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-04-04 13:57:03 +0100
committerveetaha <[email protected]>2020-04-04 13:57:23 +0100
commit486cb5b79aa9509ff86e19090f192512e23b809a (patch)
tree1236970d159aa5aa412c58c77c20616af152cd9f /editors/code
parent6207ac90da7e607218457bf872fa32df6b78f224 (diff)
vscode: restore removed default values
After refactoring the config we forgot to set defaults for some properties like workspaceLoaded, callInfo.full, etc. This commit restored them to being turned on by defult, as well added defaults for other props to be more explicit on their defualt value.
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 595d6e378..f0d5127d4 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -211,10 +211,12 @@
211 }, 211 },
212 "rust-analyzer.notifications.workspaceLoaded": { 212 "rust-analyzer.notifications.workspaceLoaded": {
213 "type": "boolean", 213 "type": "boolean",
214 "default": true,
214 "markdownDescription": "Whether to show `workspace loaded` message." 215 "markdownDescription": "Whether to show `workspace loaded` message."
215 }, 216 },
216 "rust-analyzer.notifications.cargoTomlNotFound": { 217 "rust-analyzer.notifications.cargoTomlNotFound": {
217 "type": "boolean", 218 "type": "boolean",
219 "default": true,
218 "markdownDescription": "Whether to show `can't find Cargo.toml` error message" 220 "markdownDescription": "Whether to show `can't find Cargo.toml` error message"
219 }, 221 },
220 "rust-analyzer.cargo.noDefaultFeatures": { 222 "rust-analyzer.cargo.noDefaultFeatures": {
@@ -253,6 +255,7 @@
253 "items": { 255 "items": {
254 "type": "string" 256 "type": "string"
255 }, 257 },
258 "default": [],
256 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting." 259 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for formatting."
257 }, 260 },
258 "rust-analyzer.checkOnSave.enable": { 261 "rust-analyzer.checkOnSave.enable": {
@@ -278,6 +281,7 @@
278 "items": { 281 "items": {
279 "type": "string" 282 "type": "string"
280 }, 283 },
284 "default": [],
281 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option." 285 "markdownDescription": "Advanced option, fully override the command rust-analyzer uses for checking. The command should include `--message=format=json` or similar option."
282 }, 286 },
283 "rust-analyzer.checkOnSave.allTargets": { 287 "rust-analyzer.checkOnSave.allTargets": {
@@ -327,6 +331,7 @@
327 }, 331 },
328 "rust-analyzer.callInfo.full": { 332 "rust-analyzer.callInfo.full": {
329 "type": "boolean", 333 "type": "boolean",
334 "default": true,
330 "description": "Show function name and docs in parameter hints" 335 "description": "Show function name and docs in parameter hints"
331 }, 336 },
332 "rust-analyzer.highlighting.semanticTokens": { 337 "rust-analyzer.highlighting.semanticTokens": {