aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-18 15:03:15 +0100
committerAleksey Kladov <[email protected]>2020-08-18 15:03:15 +0100
commit0866b1be894b9148cf69897a1e1aa70e3c416e29 (patch)
tree624481da5db0f0e57838767d3cff6892a7aa85cf /editors/code
parentb8dfc331abbfce6aad0c248c91c57bd9890a668f (diff)
Align diagnostics config with the rest of rust-analyzer
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 }