Function exec_autocmds

Source
pub fn exec_autocmds<'a, I>(
    events: I,
    opts: &ExecAutocmdsOpts,
) -> Result<(), Error>
where I: IntoIterator<Item = &'a str>,
Expand description

Binding to nvim_exec_autocmds().

Executes all the autocommands registered on the given events that also match opts.