mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
chore(autocmd): move comment to the right place
This commit is contained in:
parent
d5bd7ffe51
commit
08cf3fb099
@ -239,7 +239,7 @@ void aupat_del_for_event_and_group(event_T event, int group)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
au_cleanup(); // may really delete removed patterns/commands now
|
au_cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mark all commands for a pattern for deletion.
|
// Mark all commands for a pattern for deletion.
|
||||||
@ -551,7 +551,7 @@ void free_all_autocmds(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
au_need_clean = true;
|
au_need_clean = true;
|
||||||
au_cleanup(); // may really delete removed patterns/commands now
|
au_cleanup();
|
||||||
|
|
||||||
// Delete the augroup_map, including free the data
|
// Delete the augroup_map, including free the data
|
||||||
String name;
|
String name;
|
||||||
@ -940,7 +940,7 @@ int do_autocmd_event(event_T event, char_u *pat, bool once, int nested, char_u *
|
|||||||
patlen = (int)aucmd_pattern_length(pat);
|
patlen = (int)aucmd_pattern_length(pat);
|
||||||
}
|
}
|
||||||
|
|
||||||
au_cleanup();
|
au_cleanup(); // may really delete removed patterns/commands now
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user