diff options
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 54b0032c9c..91b0a695f1 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -6276,9 +6276,9 @@ do_doautocmd ( // Loop over the events. while (*arg && !ends_excmd(*arg) && !ascii_iswhite(*arg)) { - if (apply_autocmds_group(event_name2nr(arg, &arg), fname, NULL, TRUE, + if (apply_autocmds_group(event_name2nr(arg, &arg), fname, NULL, true, group, curbuf, NULL)) { - nothing_done = FALSE; + nothing_done = false; } } @@ -6757,7 +6757,7 @@ static bool apply_autocmds_group(event_T event, char_u *fname, char_u *fname_io, if (autocmd_fname != NULL) { autocmd_fname = vim_strsave(autocmd_fname); } - autocmd_fname_full = FALSE; /* call FullName_save() later */ + autocmd_fname_full = false; // call FullName_save() later /* * Set the buffer number to be used for <abuf>. |