set_option_value

Function set_option_value 

Source
pub fn set_option_value<Opt>(
    name: &str,
    value: Opt,
    opts: &OptionValueOpts,
) -> Result<(), Error>
where Opt: ToObject,
Expand description

Binding to nvim_set_option_value.

Sets the value of an option. The behaviour of this function matches that of :set: for global-local options, both the global and local value are set unless specified otherwise in the scope field of opts.