Skip to content

Commit 84b009c

Browse files
committed
Reset fontStyle for inlay hints
Otherwise, we get bold hints on `true` and `false`
1 parent 4741ae7 commit 84b009c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editors/code/src/inlay_hints.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ export function activateInlayHints(ctx: Ctx) {
4242
const typeHintDecorationType = vscode.window.createTextEditorDecorationType({
4343
after: {
4444
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
45+
fontStyle: "normal",
4546
},
4647
});
4748

4849
const parameterHintDecorationType = vscode.window.createTextEditorDecorationType({
4950
before: {
5051
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
52+
fontStyle: "normal",
5153
},
5254
});
5355

0 commit comments

Comments
 (0)