Skip to main content

SECTION_HEADER_PREFIXES

Constant SECTION_HEADER_PREFIXES 

Source
pub const SECTION_HEADER_PREFIXES: [&str; 6];
Expand description

The fixed prefix format_buffer_styled renders for each SectionKind’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, and magit_core_mode.rs::section_headers), free to drift out of sync with each other and with this list.