From 84b009cbf75bf55d1079f8d7df0edddbc147deb0 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 28 Feb 2020 11:30:46 +0100 Subject: Reset fontStyle for inlay hints Otherwise, we get bold hints on `true` and `false` --- editors/code/src/inlay_hints.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts index 5951cf1b4..6871bc111 100644 --- a/editors/code/src/inlay_hints.ts +++ b/editors/code/src/inlay_hints.ts @@ -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", }, }); -- cgit v1.2.3