fix: display diff totals as plain status text
This commit is contained in:
+3
-3
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user