pub fn load(&self, allow_zero: bool) -> io::Result<Option<Value>> {
        let vimrc = utils::find_vimrc()
            .ok_or_else(|| io::Error::new(io::ErrorKind::NotFound, "vimrc not found"))?;
        self.load_with_config(vimrc, allow_zero)
    }
/// Loads the variable's value using neovim's headless mode or vim's ex
/// mode using the default vimrc available in scope
///
/// ### Notes
///
/// * Will leverage [`utils::find_vimrc`] to load in the appropriate vimrc
///   during ex mode
/// * If `allow_zero` is true, then a value of 0 is considered the value of
///   the variable rather than vim's default of not being found
Loads the variable's value using neovim's headless mode or vim's ex
mode using the default vimrc available in scope
Loads the variable ' s value using neovim ' s headless mode or vim ' s ex mode using the default vimrc available in scope
pub fn load(&self, allow_zero: bool) -> io::Result<Option<Value>> {
        let vimrc = utils::find_vimrc()
            .ok_or_else(|| io::Error::new(io::ErrorKind::NotFound, "vimrc not found"))?;
        self.load_with_config(vimrc, allow_zero)
    }
pub fn load ( & self , allow_zero : bool ) -> io :: Result < Option < Value > > { let vimrc = utils :: find_vimrc ( ) . ok_or_else ( | | io :: Error :: new ( io :: ErrorKind :: NotFound , " " ) ) ? ; self . load_with_config ( vimrc , allow_zero ) }
Loads the variable's value using neovim's headless mode or vim's ex
mode using the default vimrc available in scope
Loads the variable ' s value using neovim ' s headless mode or vim ' s ex mode using the default vimrc available in scope
&self
allow_zero
bool
notes
Will leverage [`utils::find_vimrc`] to load in the appropriate vimrc
during ex mode
If `allow_zero` is true, then a value of 0 is considered the value of
the variable rather than vim's default of not being found
Will leverage [ ` utils :: find_vimrc ` ] to load in the appropriate vimrc during ex mode If ` allow_zero ` is true then a value of 0 is considered the value of the variable rather than vim ' s default of not being found