Skip to main content

plugin_option_groups

Function plugin_option_groups 

Source
pub fn plugin_option_groups(
    reg: &ConfigRegistry,
) -> BTreeMap<String, Vec<Arc<dyn ErasedOption>>>
Expand description

Runtime-registered options that have no compile-time declaration — i.e. plugin options — grouped by their dotted namespace.

:customize and its completion are both built on the compile-time decl slices, which only native options join. A plugin option reaches :set and :describe-option (both read this registry) but would otherwise be absent from every browse surface. The namespace IS the group, which is what native groups already are (ai.log + ai.log_level -> ai); the host assigns the prefix from the plugin id, so a plugin can neither collide with another nor squat a native group.