mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 10:50:15 +00:00
Fix transparent diagnostics
This commit is contained in:
parent
7273d714af
commit
b1a1aa4209
1 changed files with 1 additions and 6 deletions
|
@ -207,11 +207,6 @@ export class AnsiDecorationProvider implements vscode.Disposable {
|
|||
}
|
||||
}
|
||||
|
||||
const themeColor = AnsiDecorationProvider._anserToThemeColor[color];
|
||||
if (themeColor) {
|
||||
return new ThemeColor("terminal." + themeColor);
|
||||
}
|
||||
|
||||
return undefined;
|
||||
return AnsiDecorationProvider._anserToThemeColor[color];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue