mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Fix transparent diagnostics
This commit is contained in:
parent
7273d714af
commit
b1a1aa4209
@ -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…
x
Reference in New Issue
Block a user