pub fn create_user_command<Cmd>(
name: &str,
command: Cmd,
opts: &CreateCommandOpts,
) -> Result<(), Error>
Expand description
Binding to nvim_create_user_command
.
Creates a new user command.
pub fn create_user_command<Cmd>(
name: &str,
command: Cmd,
opts: &CreateCommandOpts,
) -> Result<(), Error>
Binding to nvim_create_user_command
.
Creates a new user command.