Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Show diagnostics on hover

Antonio Scandurraf76a2502bb56
diff --git a/crates/editor/src/hover_popover.rs b/crates/editor/src/hover_popover.rs
index 9268c6de4e4..f311f20ae6d 100644
--- a/crates/editor/src/hover_popover.rs
+++ b/crates/editor/src/hover_popover.rs
@@ -545,6 +545,7 @@ impl DiagnosticPopover {
div()
.id("diagnostic")
+ .elevation_2(cx)
.overflow_y_scroll()
.px_2()
.py_1()