Lua plugins. Values can be a package or path (linked as-is), or an attribute set with package, setup, and settings.
Plugins with setup set to true generate a require("{name}"):setup({...}) call in $XDG_CONFIG_HOME/yazi/init.lua, written before any initLua content.
See https://yazi-rs.github.io/docs/plugins/overview for documentation.
Declarations
Type
attribute set of ((submodule) or (absolute path or package) convertible to it)Default
{ }Example
{
# package only, no setup call
foo = pkgs.foo;
# empty setup call: require("bar"):setup()
bar = {
package = pkgs.bar;
setup = true;
};
# setup call with settings
baz = {
package = pkgs.baz;
setup = true;
settings = {
part_separator = { open = ""; close = ""; };
tab_width = 20;
};
};
}