pub fn get_option_value<Opt>(
name: &str,
opts: &OptionValueOpts,
) -> Result<Opt, Error>where
Opt: FromObject,Expand description
Binding to nvim_get_option_value.
Gets the local value of an option if it exists, or the global value otherwise. Local values always correspond to the current buffer or window.
To get a buffer-local orr window-local option for a specific buffer of
window consider using Buffer::get_option or Window::get_option instead.