From 0866b1be894b9148cf69897a1e1aa70e3c416e29 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 18 Aug 2020 16:03:15 +0200 Subject: Align diagnostics config with the rest of rust-analyzer --- editors/code/package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'editors/code') diff --git a/editors/code/package.json b/editors/code/package.json index 429ff5def..f079f73b8 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -592,31 +592,31 @@ "default": true, "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual." }, - "rust-analyzer.diagnostics.warningsAsInfo": { + "rust-analyzer.diagnostics.disabled": { "type": "array", "uniqueItems": true, "items": { "type": "string" }, - "description": "List of warnings that should be displayed with info severity.\nThe warnings will be indicated by a blue squiggly underline in code and a blue icon in the problems panel.", + "description": "List of rust-analyzer diagnostics to disable", "default": [] }, - "rust-analyzer.diagnostics.warningsAsHint": { + "rust-analyzer.diagnostics.warningsAsInfo": { "type": "array", "uniqueItems": true, "items": { "type": "string" }, - "description": "List of warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in the problems panel.", + "description": "List of warnings that should be displayed with info severity.\nThe warnings will be indicated by a blue squiggly underline in code and a blue icon in the problems panel.", "default": [] }, - "rust-analyzer.analysis.disabledDiagnostics": { + "rust-analyzer.diagnostics.warningsAsHint": { "type": "array", "uniqueItems": true, "items": { "type": "string" }, - "description": "List of rust-analyzer diagnostics to disable", + "description": "List of warnings that should be displayed with hint severity.\nThe warnings will be indicated by faded text or three dots in code and will not show up in the problems panel.", "default": [] } } -- cgit v1.2.3