diff options
| author | Ian Chamberlain <ichamberlain@juniper.net> | 2023-01-04 12:04:45 -0500 |
|---|---|---|
| committer | Ian Chamberlain <ichamberlain@juniper.net> | 2023-01-09 11:50:35 -0500 |
| commit | 65cf7abbe2ee75cce74592fa0af75356181566be (patch) | |
| tree | d05033bcd649cedd05dd5627e9095459b7e9d4c3 /docs | |
| parent | 738ce83d858aa498c3ff28be3417101ab5f9ce6f (diff) | |
| download | rust-65cf7abbe2ee75cce74592fa0af75356181566be.tar.gz rust-65cf7abbe2ee75cce74592fa0af75356181566be.zip | |
Use experimental capability to enable color codes
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 5a3019831ae..b33a2e79525 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -174,8 +174,8 @@ 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 -(for colored diagnostics, use -`--message-format=json-diagnostic-rendered-ansi`). +(if your client supports the `colorDiagnosticOutput` experimental +capability, you can 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 |
