mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 04:23:25 +00:00
Disable experimental diagnostics by default
This commit is contained in:
parent
f3d1a53fa6
commit
44a99d6e49
3 changed files with 3 additions and 3 deletions
|
@ -176,7 +176,7 @@ config_data! {
|
|||
diagnostics_enable: bool = "true",
|
||||
/// Whether to show experimental rust-analyzer diagnostics that might
|
||||
/// have more false positives than usual.
|
||||
diagnostics_enableExperimental: bool = "true",
|
||||
diagnostics_enableExperimental: bool = "false",
|
||||
/// List of rust-analyzer diagnostics to disable.
|
||||
diagnostics_disabled: FxHashSet<String> = "[]",
|
||||
/// Map of prefixes to be substituted when parsing diagnostic file paths.
|
||||
|
|
|
@ -223,7 +223,7 @@ Enables completions of private items and fields that are defined in the current
|
|||
--
|
||||
Whether to show native rust-analyzer diagnostics.
|
||||
--
|
||||
[[rust-analyzer.diagnostics.enableExperimental]]rust-analyzer.diagnostics.enableExperimental (default: `true`)::
|
||||
[[rust-analyzer.diagnostics.enableExperimental]]rust-analyzer.diagnostics.enableExperimental (default: `false`)::
|
||||
+
|
||||
--
|
||||
Whether to show experimental rust-analyzer diagnostics that might
|
||||
|
|
|
@ -645,7 +645,7 @@
|
|||
},
|
||||
"rust-analyzer.diagnostics.enableExperimental": {
|
||||
"markdownDescription": "Whether to show experimental rust-analyzer diagnostics that might\nhave more false positives than usual.",
|
||||
"default": true,
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"rust-analyzer.diagnostics.disabled": {
|
||||
|
|
Loading…
Reference in a new issue