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 <aleksey.kladov@gmail.com>
This commit is contained in:
commit
3e25b17cfd
@ -42,12 +42,14 @@ export function activateInlayHints(ctx: Ctx) {
|
|||||||
const typeHintDecorationType = vscode.window.createTextEditorDecorationType({
|
const typeHintDecorationType = vscode.window.createTextEditorDecorationType({
|
||||||
after: {
|
after: {
|
||||||
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
|
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
|
||||||
|
fontStyle: "normal",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const parameterHintDecorationType = vscode.window.createTextEditorDecorationType({
|
const parameterHintDecorationType = vscode.window.createTextEditorDecorationType({
|
||||||
before: {
|
before: {
|
||||||
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
|
color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
|
||||||
|
fontStyle: "normal",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user