set_hl

Function set_hl 

Source
fn set_hl(ns_id: u32, hl_name: &str, hl_opts: &SetHighlightOpts)
Expand description

Sets a highlight group in the specified namespace, with error handling via Neovim notifications.

This function wraps [nvim_oxi::api::set_hl] to apply highlight options to a group. On failure, it notifies the error to Neovim instead of propagating it, ensuring the colorscheme setup continues gracefully.

ยงErrors

Errors are notified to Neovim but not returned; the function always succeeds externally.