diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-03-04 16:39:55 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-03-04 16:39:55 +0800 |
commit | 08cf3fb099e1f30418e08788000d5db0de2b8db7 (patch) | |
tree | 1d05eb03484e65aef92cddc18f95cb62f21d59b2 | |
parent | d5bd7ffe51b2a8908cedd4e58e294ebf5d021e12 (diff) | |
download | rneovim-08cf3fb099e1f30418e08788000d5db0de2b8db7.tar.gz rneovim-08cf3fb099e1f30418e08788000d5db0de2b8db7.tar.bz2 rneovim-08cf3fb099e1f30418e08788000d5db0de2b8db7.zip |
chore(autocmd): move comment to the right place
-rw-r--r-- | src/nvim/autocmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/autocmd.c b/src/nvim/autocmd.c index 60a6207076..7cb493f57d 100644 --- a/src/nvim/autocmd.c +++ b/src/nvim/autocmd.c @@ -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. @@ -551,7 +551,7 @@ void free_all_autocmds(void) } au_need_clean = true; - au_cleanup(); // may really delete removed patterns/commands now + au_cleanup(); // Delete the augroup_map, including free the data 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); } - au_cleanup(); + au_cleanup(); // may really delete removed patterns/commands now return OK; } |