Crate vimvar

Source

Modules§

search
Contains functions to search for relevant config files
utils
Contains utility functions useful for neovim/vim operations

Structs§

VimVar
Represents a vim variable to be extracted

Enums§

Cmd
Represents type of vim instance being used
Scope
Represents a vim variable scope

Functions§

load_buffer_var
Retrieves a vim variable with b: scope using whatever neovim/vim instance is available in the current path
load_function_arg_var
Retrieves a vim variable with a: scope using whatever neovim/vim instance is available in the current path
load_global_var
Retrieves a vim variable with g: scope using whatever neovim/vim instance is available in the current path
load_local_var
Retrieves a vim variable with l: scope using whatever neovim/vim instance is available in the current path
load_script_var
Retrieves a vim variable with s: scope using whatever neovim/vim instance is available in the current path
load_tabpage_var
Retrieves a vim variable with t: scope using whatever neovim/vim instance is available in the current path
load_typed_buffer_var
Same as [Self::load_buffer_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_typed_function_arg_var
Same as [Self::load_function_arg_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_typed_global_var
Same as [Self::load_global_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_typed_local_var
Same as [Self::load_local_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_typed_script_var
Same as [Self::load_script_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_typed_tabpage_var
Same as [Self::load_tabpage_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_typed_vim_var
Same as [Self::load_vim_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_typed_window_var
Same as [Self::load_window_var], but converts to the specified type after being loaded, returing an io::Error if failing to convert
load_vim_var
Retrieves a vim variable with v: scope using whatever neovim/vim instance is available in the current path
load_window_var
Retrieves a vim variable with w: scope using whatever neovim/vim instance is available in the current path