Re-allow diagnostics hovers to soft wrap

Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
Julia
2023-04-27 14:35:34 -04:00
co-authored by Max Brunsfeld
parent 3f7533a0b4
commit 678c188de0
3 changed files with 15 additions and 17 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export default function HoverPopover(colorScheme: ColorScheme) {
padding: { top: 4 },
},
prose: text(layer, "sans", { size: "sm" }),
diagnosticSource: text(layer, "sans", { size: "sm", underline: true, color: foreground(layer, "accent") }),
diagnosticSourceHighlight: { underline: true, color: foreground(layer, "accent") },
highlight: colorScheme.ramps.neutral(0.5).alpha(0.2).hex(), // TODO: blend was used here. Replace with something better
}
}