mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
Default to use colored ANSI diagnostics
This commit is contained in:
parent
1b8141b54c
commit
40207906f4
1 changed files with 6 additions and 2 deletions
|
@ -297,7 +297,11 @@ impl FlycheckActor {
|
|||
let mut cmd = Command::new(toolchain::cargo());
|
||||
cmd.arg(command);
|
||||
cmd.current_dir(&self.root);
|
||||
cmd.args(["--workspace", "--message-format=json", "--manifest-path"])
|
||||
cmd.args([
|
||||
"--workspace",
|
||||
"--message-format=json-diagnostic-rendered-ansi",
|
||||
"--manifest-path",
|
||||
])
|
||||
.arg(self.root.join("Cargo.toml").as_os_str());
|
||||
|
||||
for target in target_triples {
|
||||
|
|
Loading…
Reference in a new issue