style(pager): single-line fmt for highlight Style chain

This commit is contained in:
Hunter Bown
2026-04-26 17:40:42 -05:00
parent 30ae78ee19
commit 6a13ce8c29
+1 -4
View File
@@ -385,10 +385,7 @@ impl ModalView for PagerView {
} else {
Color::Yellow
};
let highlight = Style::default()
.bg(bg)
.fg(fg)
.add_modifier(Modifier::BOLD);
let highlight = Style::default().bg(bg).fg(fg).add_modifier(Modifier::BOLD);
for span in line.spans.iter_mut() {
span.style = highlight;
}