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 <gerzoh1@gmail.com>
This commit is contained in:
commit
004b74d554
@ -233,11 +233,10 @@
|
||||
"description": "Trace requests to the ra_lsp_server"
|
||||
},
|
||||
"rust-analyzer.lruCapacity": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"type": [ "null", "integer" ],
|
||||
"default": null,
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true,
|
||||
"description": "Number of syntax trees rust-analyzer keeps in memory"
|
||||
},
|
||||
"rust-analyzer.displayInlayHints": {
|
||||
@ -246,9 +245,10 @@
|
||||
"description": "Display additional type and parameter information in the editor"
|
||||
},
|
||||
"rust-analyzer.maxInlayHintLength": {
|
||||
"type": "number",
|
||||
"type": [ "null", "integer" ],
|
||||
"default": 20,
|
||||
"exclusiveMinimum": 0,
|
||||
"minimum": 0,
|
||||
"exclusiveMinimum": true,
|
||||
"description": "Maximum length for inlay hints"
|
||||
},
|
||||
"rust-analyzer.cargoFeatures.noDefaultFeatures": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user