Function get_mode

Source
pub fn get_mode() -> Result<GotMode, Error>
Expand description

Binding to nvim_get_mode.

Gets the current mode. The blocking field of GotMode is true if Neovim is waiting for input.