refactor!: rename nvim_add_user_command to nvim_create_user_command

This commit is contained in:
Gregory Anders
2022-04-10 19:12:41 -06:00
parent b2cb05b53e
commit f94f75dc05
6 changed files with 92 additions and 91 deletions

View File

@@ -1416,7 +1416,8 @@ const char *get_default_stl_hl(win_T *wp)
}
}
void add_user_command(String name, Object command, Dict(user_command) *opts, int flags, Error *err)
void create_user_command(String name, Object command, Dict(user_command) *opts, int flags,
Error *err)
{
uint32_t argt = 0;
long def = -1;