mirror of
https://github.com/neovim/neovim.git
synced 2026-01-17 10:38:57 +10:00
Currently, there are two functions in the UI API that are called when the mode changes: insert_mode() and normal_mode(). These can be folded into a single mode_change() entrypoint which can do whatever it wants based on the mode it is passed, limited to INSERT and NORMAL for now.