aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLucas Schwiderski <[email protected]>2021-05-29 17:08:14 +0100
committerLucas Schwiderski <[email protected]>2021-05-29 17:08:14 +0100
commit9a057c0ff48a1c99870c52d839284ead74a555c1 (patch)
tree105f3bec13d1dcd1640400458a118a2fdfe4ea19 /crates
parent247faf271b9098624cb0b09dd4914da66497dd5a (diff)
Fix incorrect setting descriptions
Descriptions for diagnostic warning hint and info display were swapped. Fixes #8485. Signed-off-by: Lucas Schwiderski <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/config.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index b6a1124a5..a67b0bb25 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -111,15 +111,15 @@ config_data! {
111 /// Map of prefixes to be substituted when parsing diagnostic file paths. 111 /// Map of prefixes to be substituted when parsing diagnostic file paths.
112 /// This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`. 112 /// This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`.
113 diagnostics_remapPrefix: FxHashMap<String, String> = "{}", 113 diagnostics_remapPrefix: FxHashMap<String, String> = "{}",
114 /// List of warnings that should be displayed with info severity.
115 ///
116 /// The warnings will be indicated by a blue squiggly underline in code
117 /// and a blue icon in the `Problems Panel`.
118 diagnostics_warningsAsHint: Vec<String> = "[]",
119 /// List of warnings that should be displayed with hint severity. 114 /// List of warnings that should be displayed with hint severity.
120 /// 115 ///
121 /// The warnings will be indicated by faded text or three dots in code 116 /// The warnings will be indicated by faded text or three dots in code
122 /// and will not show up in the `Problems Panel`. 117 /// and will not show up in the `Problems Panel`.
118 diagnostics_warningsAsHint: Vec<String> = "[]",
119 /// List of warnings that should be displayed with info severity.
120 ///
121 /// The warnings will be indicated by a blue squiggly underline in code
122 /// and a blue icon in the `Problems Panel`.
123 diagnostics_warningsAsInfo: Vec<String> = "[]", 123 diagnostics_warningsAsInfo: Vec<String> = "[]",
124 124
125 /// Controls file watching implementation. 125 /// Controls file watching implementation.