mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
fix(autocmd): clean up autocmds only when needed (#17593)
This commit is contained in:
@@ -239,7 +239,6 @@ void aupat_del_for_event_and_group(event_T event, int group)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
au_need_clean = true;
|
|
||||||
au_cleanup(); // may really delete removed patterns/commands now
|
au_cleanup(); // may really delete removed patterns/commands now
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user