mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
vscode: fix all integer -> number and add nullablitiy to maxInlayHintLength
This commit is contained in:
parent
53b5f4ba98
commit
0565657ed1
1 changed files with 2 additions and 5 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue