Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dfcbed0

Browse files
Fix obsolete enableRangeFormatting config
1 parent f0649f2 commit dfcbed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,7 @@ fn run_rustfmt(
17981798
String::from(
17991799
"rustfmt range formatting is unstable. \
18001800
Opt-in by using a nightly build of rustfmt and setting \
1801-
`rustfmt.enableRangeFormatting` to true in your LSP configuration",
1801+
`rustfmt.rangeFormatting.enable` to true in your LSP configuration",
18021802
),
18031803
)
18041804
.into());

0 commit comments

Comments
 (0)