mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
fix(autocmd): clean up autocmds only when needed (#17593)
This commit is contained in:
parent
e23af71d35
commit
d5bd7ffe51
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user