Skip to main content

default_minor_mode_id_for_buffer_kind

Function default_minor_mode_id_for_buffer_kind 

Source
pub fn default_minor_mode_id_for_buffer_kind(kind: BufferKind) -> Option<ModeId>
Expand description

M.4 (Option B): minor modes the App activates alongside the major resolved by major_mode_id_for_buffer_kind. Returns the per-kind minor that gives the buffer its full identity. Help buffers get help-mode (read-only + link/anchor follow); other kinds currently get nothing – their majors already carry their full contribution set.