Expand description
MG.2: Magit status section index and content formatting.
Lazy by default: stores file paths + status labels only.
No diffs are pre-computed — diffs load on demand via =.
Structs§
Enums§
Constants§
- SECTION_
HEADER_ PREFIXES - The fixed prefix
format_buffer_styledrenders for eachSectionKind’s header line, before the" (N)"count suffix. Single source of truth for “is this line a section header” — previously hand-duplicated as three independent string-prefix lists (here implicitly,actions.rs::section_header_above, andmagit_core_mode.rs::section_headers), free to drift out of sync with each other and with this list.
Functions§
- is_
section_ header - True if
text(already trimmed of buffer indentation) is a section header line.