mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 03:16:31 +00:00
refactor!: rename nvim_add_user_command to nvim_create_user_command
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user