get_hl_single

Function get_hl_single 

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

Retrieves [HighlightInfos] of a single group.

ยงErrors

  • Propagates failures from [nvim_oxi::api::get_hl] while notifying them to Neovim.
  • Returns an error in case of multiple infos ([GetHlInfos::Map]) for the given hl_opts .