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

Closes #30362

Release Notes:

- Fixed completion tooltip to respect custom font features set in
`buffer_font_features`
This commit is contained in:
Sergei Kartsev 2025-05-11 21:45:41 +02:00 committed by GitHub
parent 82a7aca5a6
commit ae31aa2759
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,