fn hl_opts_from_hl_infos(
hl_infos: &HighlightInfos,
) -> Result<SetHighlightOptsBuilder>Expand description
Builds a [SetHighlightOptsBuilder] from [HighlightInfos], applying only present fields via Option::map.
Returns a color_eyre::Result. Errors if blend (u32) cannot convert to u8 and notifies it to Neovim.
ยงErrors
- The
blendvalue cannot fit into au8.