diff options
| author | Ian Chamberlain <ian.h.chamberlain@gmail.com> | 2022-12-25 13:52:42 -0500 |
|---|---|---|
| committer | Ian Chamberlain <ichamberlain@juniper.net> | 2023-01-09 11:49:58 -0500 |
| commit | c3e4bc313611d571123d4e4257af58784e42f47d (patch) | |
| tree | f6a9f647a8a7f657ed29b565fe836d58ef2aaab2 /docs | |
| parent | 40207906f42c018a775dfdffdfeb89c99660fe0a (diff) | |
| download | rust-c3e4bc313611d571123d4e4257af58784e42f47d.tar.gz rust-c3e4bc313611d571123d4e4257af58784e42f47d.zip | |
Update docs to include note about ANSI diagnostics
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 755c69e12cf..5a3019831ae 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -173,7 +173,9 @@ Whether to pass `--no-default-features` to Cargo. Defaults to -- 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 |
