vscode: fix all integer -> number and add nullablitiy to maxInlayHintLength

This commit is contained in:
Veetaha 2020-02-16 17:55:15 +02:00
parent 53b5f4ba98
commit 0565657ed1

View file

@ -233,10 +233,7 @@
"description": "Trace requests to the ra_lsp_server" "description": "Trace requests to the ra_lsp_server"
}, },
"rust-analyzer.lruCapacity": { "rust-analyzer.lruCapacity": {
"type": [ "type": [ "null", "integer" ],
"number",
"null"
],
"default": null, "default": null,
"description": "Number of syntax trees rust-analyzer keeps in memory" "description": "Number of syntax trees rust-analyzer keeps in memory"
}, },
@ -246,7 +243,7 @@
"description": "Display additional type and parameter information in the editor" "description": "Display additional type and parameter information in the editor"
}, },
"rust-analyzer.maxInlayHintLength": { "rust-analyzer.maxInlayHintLength": {
"type": "number", "type": [ "null", "integer" ],
"default": 20, "default": 20,
"minimum": 0, "minimum": 0,
"exclusiveMinimum": true, "exclusiveMinimum": true,