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:
Wilfred Hughes 2024-10-23 15:18:43 -07:00
parent 1fbaccd893
commit 2204724a86

View File

@ -119,7 +119,7 @@ pub(crate) fn handle_analyzer_status(
format_to!(buf, "{}", crate::version());
buf.push_str("\nConfiguration: \n");
format_to!(buf, "{:?}", snap.config);
format_to!(buf, "{:#?}", snap.config);
Ok(buf)
}