Module vim_opts

Module vim_opts 

Source
Expand description

vim.opts utilities. Avoids intra-doc links to private items for stable docs; uses plain function calls for error notifications. Vim option helpers and bulk setters exposed to Lua.

Provides a dictionary vim_opts.dict() with batch application (set_all) and granular option mutation utilities wrapping [nvim_oxi::api::set_option_value], emitting notifications via Uses ytil_noxi::notify::error on failure.

Functionsยง

append
Appends to a var named name the supplied value value.
dict
[Dictionary] of vim.opts helpers.
get
Gets a Vim option by name within the given [OptionOpts].
global_scope
Returns [OptionOpts] configured for the global scope.
set
Sets a Vim option by name to value within the given [OptionOpts].
set_all ๐Ÿ”’
Sets the desired Nvim options.