aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-16 15:55:15 +0000
committerVeetaha <[email protected]>2020-02-16 15:55:15 +0000
commit0565657ed1b51e90f7876158d7b484db1a6c46b2 (patch)
tree40a2f370c78fed5ef7f6636f840148f38c8fc8f8
parent53b5f4ba98cfd5af8603c24720bdadd11bb4bfea (diff)
vscode: fix all integer -> number and add nullablitiy to maxInlayHintLength
-rw-r--r--editors/code/package.json7
1 files changed, 2 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 614d36cf7..97f2e63cd 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -233,10 +233,7 @@
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,
241 "description": "Number of syntax trees rust-analyzer keeps in memory" 238 "description": "Number of syntax trees rust-analyzer keeps in memory"
242 }, 239 },
@@ -246,7 +243,7 @@
246 "description": "Display additional type and parameter information in the editor" 243 "description": "Display additional type and parameter information in the editor"
247 }, 244 },
248 "rust-analyzer.maxInlayHintLength": { 245 "rust-analyzer.maxInlayHintLength": {
249 "type": "number", 246 "type": [ "null", "integer" ],
250 "default": 20, 247 "default": 20,
251 "minimum": 0, 248 "minimum": 0,
252 "exclusiveMinimum": true, 249 "exclusiveMinimum": true,