mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
refactor!: rename nvim_do_autocmd to nvim_exec_autocmd (#17854)
according to established code standards (`:h dev-api`)
This commit is contained in:
@@ -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;
|
||||
|
@@ -133,7 +133,7 @@ return {
|
||||
"nested";
|
||||
"pattern";
|
||||
};
|
||||
do_autocmd = {
|
||||
exec_autocmd = {
|
||||
"buffer";
|
||||
"group";
|
||||
"modeline";
|
||||
|
Reference in New Issue
Block a user