pub fn get_mode() -> Result<GotMode, Error>
Binding to nvim_get_mode.
nvim_get_mode
Gets the current mode. The blocking field of GotMode is true if Neovim is waiting for input.
blocking
GotMode
true