Skip to main content

create_lua_autocmd

Function create_lua_autocmd 

Source
pub fn create_lua_autocmd(
    events: &[&str],
    augroup_name: &str,
    patterns: Option<&[&str]>,
    callback_body: &str,
)
Expand description

Creates an autocommand whose command executes the provided Lua snippet.