From dfcbed09d362cb7f994eab77fb47df769082e15d Mon Sep 17 00:00:00 2001 From: TonalidadeHidrica <47710717+TonalidadeHidrica@users.noreply.github.com> Date: Mon, 11 Jul 2022 16:52:35 +0900 Subject: [PATCH] Fix obsolete `enableRangeFormatting` config --- crates/rust-analyzer/src/handlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());