fix: display diff totals as plain status text

This commit is contained in:
2026-10-22 19:21:53 +02:00
parent 8f4e0fa7fb
commit ac5c64981d
4 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -195,15 +195,15 @@ impl ChromeLine {
fn default_segment(name: &str) -> SegmentConfig {
let mut segment = SegmentConfig::default();
if matches!(name, "tabs" | "position" | "battery" | "shell" | "diff") {
if matches!(name, "tabs" | "position" | "battery" | "shell") {
segment.leading_edge = "░▓".into();
}
if matches!(name, "tabs" | "mode" | "shell" | "diff") {
if matches!(name, "tabs" | "mode" | "shell") {
segment.trailing_edge = "▓░".into();
}
if matches!(
name,
"tabs" | "mode" | "position" | "battery" | "shell" | "diff" | "lsp"
"tabs" | "mode" | "position" | "battery" | "shell" | "lsp"
) {
segment.padding = 1;
}
+1 -1
View File
@@ -1823,7 +1823,7 @@ fn chrome_items<'a>(
tab: None,
accent: !matches!(
name.as_str(),
"path" | "language" | "diagnostics" | "selections" | "count" | "pending" | "buffer"
"path" | "language" | "diagnostics" | "selections" | "count" | "pending" | "buffer" | "diff"
),
bold: false,
first: true,