Function nvim_oxi::api::create_user_command
source · [−]pub fn create_user_command<Cmd>(
name: &str,
command: Cmd,
opts: &CreateCommandOpts
) -> Result<(), Error>where
Cmd: StringOrFunction<CommandArgs, ()>,Expand description
Binding to nvim_create_user_command.
Creates a new user command.