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());