refactor!: rename nvim_do_autocmd to nvim_exec_autocmd (#17854)

according to established code standards (`:h dev-api`)
This commit is contained in:
Javier Lopez
2022-03-26 09:34:56 -05:00
committed by GitHub
parent 111dd6c322
commit a490db5ba8
4 changed files with 18 additions and 18 deletions

View File

@@ -695,7 +695,7 @@ void nvim_del_augroup_by_name(String name)
/// - modeline (bool) optional: defaults to true. Process the
/// modeline after the autocommands |<nomodeline>|.
/// @see |:doautocmd|
void nvim_do_autocmd(Object event, Dict(do_autocmd) *opts, Error *err)
void nvim_exec_autocmd(Object event, Dict(exec_autocmd) *opts, Error *err)
FUNC_API_SINCE(9)
{
int au_group = AUGROUP_ALL;

View File

@@ -133,7 +133,7 @@ return {
"nested";
"pattern";
};
do_autocmd = {
exec_autocmd = {
"buffer";
"group";
"modeline";