get_overridden_set_hl_opts

Function get_overridden_set_hl_opts 

Source
fn get_overridden_set_hl_opts(
    hl_name: &str,
    override_set_hl_opts: impl FnMut(SetHighlightOptsBuilder) -> SetHighlightOpts,
    opts_builder: Option<GetHighlightOptsBuilder>,
) -> Result<SetHighlightOpts>
Expand description

Retrieves the current highlight options for a given highlight group and applies overrides.

This function fetches the existing highlight information for the specified hl_name, and then applies the provided override_set_hl_opts function to modify the options. This is useful for incrementally changing highlight groups based on their current state.

ยงErrors