Skip to content

Commit 3e25b17

Browse files
bors[bot]matklad
andauthored
Merge #3361
3361: Reset fontStyle for inlay hints r=matklad a=matklad Otherwise, we get bold hints on `true` and `false` bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 2d5e54e + 84b009c commit 3e25b17

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)