diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-28 10:32:18 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-28 10:32:18 +0000 |
commit | 3e25b17cfd0bd9bbd741ca6cf16ab39089910a74 (patch) | |
tree | f38e2f7a418f3f60a32b208423de085b0cb2e54e | |
parent | 2d5e54e955d5cfbce1dff4945186b2d878e38da7 (diff) | |
parent | 84b009cbf75bf55d1079f8d7df0edddbc147deb0 (diff) |
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]>
-rw-r--r-- | editors/code/src/inlay_hints.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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) { | |||
42 | const typeHintDecorationType = vscode.window.createTextEditorDecorationType({ | 42 | const typeHintDecorationType = vscode.window.createTextEditorDecorationType({ |
43 | after: { | 43 | after: { |
44 | color: new vscode.ThemeColor('rust_analyzer.inlayHint'), | 44 | color: new vscode.ThemeColor('rust_analyzer.inlayHint'), |
45 | fontStyle: "normal", | ||
45 | }, | 46 | }, |
46 | }); | 47 | }); |
47 | 48 | ||
48 | const parameterHintDecorationType = vscode.window.createTextEditorDecorationType({ | 49 | const parameterHintDecorationType = vscode.window.createTextEditorDecorationType({ |
49 | before: { | 50 | before: { |
50 | color: new vscode.ThemeColor('rust_analyzer.inlayHint'), | 51 | color: new vscode.ThemeColor('rust_analyzer.inlayHint'), |
52 | fontStyle: "normal", | ||
51 | }, | 53 | }, |
52 | }); | 54 | }); |
53 | 55 | ||