diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-16 16:01:29 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-16 16:01:29 +0000 |
commit | 004b74d5542c60d166b0926e4ad7a63160850630 (patch) | |
tree | 7d4c7436e866c82cddd464bafb6eb3ef6db08402 /editors/code/package.json | |
parent | 77d27c67c1dadce4abe7a6a97c0b73eaa3706e60 (diff) | |
parent | 56b64cac9cbac47e3cf3b04c8cf8e418564e12bd (diff) |
Merge #3168
3168: vscode: update exclusiveMinimum validation according to JSONSchemaV4 r=Veetaha a=Veetaha
It seems that vscode uses 4+ version of json schema where `exclusiveMinimum` [was changed to be a boolean](http://json-schema.org/understanding-json-schema/reference/numeric.html#7f93d6925e80_Draft%204)
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 96b8e9eb0..ed1cae2ab 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -233,11 +233,10 @@ | |||
233 | "description": "Trace requests to the ra_lsp_server" | 233 | "description": "Trace requests to the ra_lsp_server" |
234 | }, | 234 | }, |
235 | "rust-analyzer.lruCapacity": { | 235 | "rust-analyzer.lruCapacity": { |
236 | "type": [ | 236 | "type": [ "null", "integer" ], |
237 | "number", | ||
238 | "null" | ||
239 | ], | ||
240 | "default": null, | 237 | "default": null, |
238 | "minimum": 0, | ||
239 | "exclusiveMinimum": true, | ||
241 | "description": "Number of syntax trees rust-analyzer keeps in memory" | 240 | "description": "Number of syntax trees rust-analyzer keeps in memory" |
242 | }, | 241 | }, |
243 | "rust-analyzer.displayInlayHints": { | 242 | "rust-analyzer.displayInlayHints": { |
@@ -246,9 +245,10 @@ | |||
246 | "description": "Display additional type and parameter information in the editor" | 245 | "description": "Display additional type and parameter information in the editor" |
247 | }, | 246 | }, |
248 | "rust-analyzer.maxInlayHintLength": { | 247 | "rust-analyzer.maxInlayHintLength": { |
249 | "type": "number", | 248 | "type": [ "null", "integer" ], |
250 | "default": 20, | 249 | "default": 20, |
251 | "exclusiveMinimum": 0, | 250 | "minimum": 0, |
251 | "exclusiveMinimum": true, | ||
252 | "description": "Maximum length for inlay hints" | 252 | "description": "Maximum length for inlay hints" |
253 | }, | 253 | }, |
254 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { | 254 | "rust-analyzer.cargoFeatures.noDefaultFeatures": { |