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.

editor: Prevent underlines from appearing in minimap (#48510)

ᴀᴍᴛᴏᴀᴇʀ932981fca148
diff --git a/crates/editor/src/display_map.rs b/crates/editor/src/display_map.rs
index b666557b90a..658239db9a5 100644
--- a/crates/editor/src/display_map.rs
+++ b/crates/editor/src/display_map.rs
@@ -1924,6 +1924,9 @@ impl DisplaySnapshot {
color
}
}),
+ underline: chunk_highlight
+ .underline
+ .filter(|_| editor_style.show_underlines),
..chunk_highlight
}
});