create_autocmd

Function create_autocmd 

Source
pub fn create_autocmd<'a, I>(
    events: I,
    augroup_name: &str,
    opts_builder: &mut CreateAutocmdOptsBuilder,
)
where I: IntoIterator<Item = &'a str> + Debug + Copy,
Expand description

Creates an autocommand group and associated autocommands for events.

Errors are reported to Nvim (and swallowed) so that one failing definition does not abort the rest of the setup.