From 0565657ed1b51e90f7876158d7b484db1a6c46b2 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sun, 16 Feb 2020 17:55:15 +0200 Subject: vscode: fix all integer -> number and add nullablitiy to maxInlayHintLength --- editors/code/package.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'editors/code/package.json') 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 @@ "description": "Trace requests to the ra_lsp_server" }, "rust-analyzer.lruCapacity": { - "type": [ - "number", - "null" - ], + "type": [ "null", "integer" ], "default": null, "description": "Number of syntax trees rust-analyzer keeps in memory" }, @@ -246,7 +243,7 @@ "description": "Display additional type and parameter information in the editor" }, "rust-analyzer.maxInlayHintLength": { - "type": "number", + "type": [ "null", "integer" ], "default": 20, "minimum": 0, "exclusiveMinimum": true, -- cgit v1.2.3