mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Update docs to include note about ANSI diagnostics
This commit is contained in:
parent
40207906f4
commit
c3e4bc3136
3 changed files with 7 additions and 3 deletions
|
@ -160,7 +160,9 @@ config_data! {
|
|||
check_noDefaultFeatures | checkOnSave_noDefaultFeatures: Option<bool> = "null",
|
||||
/// Override the command rust-analyzer uses instead of `cargo check` for
|
||||
/// diagnostics on save. The command is required to output json and
|
||||
/// should therefore include `--message-format=json` or a similar option.
|
||||
/// should therefore include `--message-format=json` or a similar option
|
||||
/// (for colored diagnostics, use
|
||||
/// `--message-format=json-diagnostic-rendered-ansi`).
|
||||
///
|
||||
/// If you're changing this because you're using some tool wrapping
|
||||
/// Cargo, you might also want to change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue