aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-18 15:12:00 +0100
committerGitHub <[email protected]>2020-08-18 15:12:00 +0100
commit0e66dc690e16f29248f8d00ca0d68e58a34b52d8 (patch)
treeb9ee153d4e66a670607e06c2ffb4cc579af49a16 /editors/code
parenta3947129c5dc60cf051260c364833946f92e3350 (diff)
parent0866b1be894b9148cf69897a1e1aa70e3c416e29 (diff)
Merge #5796
5796: Align diagnostics config with the rest of rust-analyzer r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json12
1 files changed, 6 insertions, 6 deletions
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 @@
592 "default": true, 592 "default": true,
593 "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual." 593 "markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might have more false positives than usual."
594 }, 594 },
595 "rust-analyzer.diagnostics.warningsAsInfo": { 595 "rust-analyzer.diagnostics.disabled": {
596 "type": "array", 596 "type": "array",
597 "uniqueItems": true, 597 "uniqueItems": true,
598 "items": { 598 "items": {
599 "type": "string" 599 "type": "string"
600 }, 600 },
601 "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.", 601 "description": "List of rust-analyzer diagnostics to disable",
602 "default": [] 602 "default": []
603 }, 603 },
604 "rust-analyzer.diagnostics.warningsAsHint": { 604 "rust-analyzer.diagnostics.warningsAsInfo": {
605 "type": "array", 605 "type": "array",
606 "uniqueItems": true, 606 "uniqueItems": true,
607 "items": { 607 "items": {
608 "type": "string" 608 "type": "string"
609 }, 609 },
610 "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.", 610 "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.",
611 "default": [] 611 "default": []
612 }, 612 },
613 "rust-analyzer.analysis.disabledDiagnostics": { 613 "rust-analyzer.diagnostics.warningsAsHint": {
614 "type": "array", 614 "type": "array",
615 "uniqueItems": true, 615 "uniqueItems": true,
616 "items": { 616 "items": {
617 "type": "string" 617 "type": "string"
618 }, 618 },
619 "description": "List of rust-analyzer diagnostics to disable", 619 "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.",
620 "default": [] 620 "default": []
621 } 621 }
622 } 622 }