mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
internal: Pretty-print Config in status command
Config can become very big, even for relatively small rust project, and printing everything on one line makes reading the output in VS Code harder.
This commit is contained in:
parent
f9935be013
commit
909144f606
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ pub(crate) fn handle_analyzer_status(
|
||||||
format_to!(buf, "{}", crate::version());
|
format_to!(buf, "{}", crate::version());
|
||||||
|
|
||||||
buf.push_str("\nConfiguration: \n");
|
buf.push_str("\nConfiguration: \n");
|
||||||
format_to!(buf, "{:?}", snap.config);
|
format_to!(buf, "{:#?}", snap.config);
|
||||||
|
|
||||||
Ok(buf)
|
Ok(buf)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue