get_hl_multiple

Function get_hl_multiple 

Source
fn get_hl_multiple(
    ns_id: u32,
    hl_opts: &GetHighlightOpts,
) -> Result<Vec<(String, HighlightInfos)>>
Expand description

Retrieves multiple [HighlightInfos] entries (map variant) for given highlight options.

Errors:

  • Propagates failures from [nvim_oxi::api::get_hl] while notifying them to Neovim.
  • Returns an error if only a single highlight group ([GetHlInfos::Single]) is returned.