Reset fontStyle for inlay hints

Otherwise, we get bold hints on `true` and `false`
This commit is contained in:
Aleksey Kladov 2020-02-28 11:30:46 +01:00
parent 4741ae7852
commit 84b009cbf7

View File

@ -42,12 +42,14 @@ export function activateInlayHints(ctx: Ctx) {
const typeHintDecorationType = vscode.window.createTextEditorDecorationType({
after: {
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
fontStyle: "normal",
},
});
const parameterHintDecorationType = vscode.window.createTextEditorDecorationType({
before: {
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
fontStyle: "normal",
},
});