mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +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());
|
let mut cmd = Command::new(toolchain::cargo());
|
||||||
cmd.arg(command);
|
cmd.arg(command);
|
||||||
cmd.current_dir(&self.root);
|
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());
|
.arg(self.root.join("Cargo.toml").as_os_str());
|
||||||
|
|
||||||
for target in target_triples {
|
for target in target_triples {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue