about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-02-28 11:30:46 +0100
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-02-28 11:31:53 +0100
commit84b009cbf75bf55d1079f8d7df0edddbc147deb0 (patch)
tree5fe781fe36820be2d0cb3e0d55e05da8daa8abdb /editors/code
parent4741ae785257bc894cd9a61c1d5e6479074c69b6 (diff)
downloadrust-84b009cbf75bf55d1079f8d7df0edddbc147deb0.tar.gz
rust-84b009cbf75bf55d1079f8d7df0edddbc147deb0.zip
Reset fontStyle for inlay hints
Otherwise, we get bold hints on `true` and `false`
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/inlay_hints.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 5951cf1b457..6871bc11184 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -42,12 +42,14 @@ export function activateInlayHints(ctx: Ctx) {
 const typeHintDecorationType = vscode.window.createTextEditorDecorationType({
     after: {
         color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
+        fontStyle: "normal",
     },
 });
 
 const parameterHintDecorationType = vscode.window.createTextEditorDecorationType({
     before: {
         color: new vscode.ThemeColor('rust_analyzer.inlayHint'),
+        fontStyle: "normal",
     },
 });