mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Reset fontStyle for inlay hints
Otherwise, we get bold hints on `true` and `false`
This commit is contained in:
parent
4741ae7852
commit
84b009cbf7
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue