get_autocmds

Function get_autocmds 

pub fn get_autocmds(
    opts: &GetAutocmdsOpts,
) -> Result<impl SuperIterator<AutocmdInfos> + use<>, Error>
Expand description

Binding to nvim_get_autocmds().

Gets all the autocommands that match opts. When multiple patterns or events are provided, it will find all the autocommands that match any combination of them.