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.

Fix apply buffer font features to completion tooltip (#30362) (#30519)

Sergei Kartsevae31aa275973
diff --git a/crates/gpui/src/style.rs b/crates/gpui/src/style.rs
index 188576b4654..9066fb9e1bb 100644
--- a/crates/gpui/src/style.rs
+++ b/crates/gpui/src/style.rs
@@ -467,7 +467,7 @@ impl TextStyle {
len,
font: Font {
family: self.font_family.clone(),
- features: Default::default(),
+ features: self.font_features.clone(),
fallbacks: self.font_fallbacks.clone(),
weight: self.font_weight,
style: self.font_style,