Unnamed repository; edit this file 'description' to name the repository.
Fix obsolete `enableRangeFormatting` config
TonalidadeHidrica 2022-07-11
parent f0649f2 · commit dfcbed0
-rw-r--r--crates/rust-analyzer/src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs
index 69a03850b5..e3875228a1 100644
--- a/crates/rust-analyzer/src/handlers.rs
+++ b/crates/rust-analyzer/src/handlers.rs
@@ -1798,7 +1798,7 @@ fn run_rustfmt(
String::from(
"rustfmt range formatting is unstable. \
Opt-in by using a nightly build of rustfmt and setting \
- `rustfmt.enableRangeFormatting` to true in your LSP configuration",
+ `rustfmt.rangeFormatting.enable` to true in your LSP configuration",
),
)
.into());