mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00

Problem: The ModeChanged autocmd event is inefficient.
Solution: Avoid allocating memory. (closes vim/vim#10134) Rename
trigger_modechanged() to may_trigger_modechanged().
2bf52dd065
Make v:event readonly for ModeChanged.