mini-diff
URL: https://github.com/nvim-mini/mini.diff/
Maintainers: Heitor Augusto
plugins.mini-diff.enable
Whether to enable mini-diff.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.mini-diff.package
The mini-diff package to use.
Type: package
Default:
pkgs.vimPlugins.mini-diff
Declared by:
plugins.mini-diff.autoLoad
Whether to automatically load mini-diff when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by:
plugins.mini-diff.callSetup
Whether to generate the standard require('mini.diff').setup(...) call for this plugin.
By default, this follows the plugin’s built-in behavior. Set this to false
to disable the generated setup call, or to true to force it even when the
plugin would only call it conditionally.
Type: null or boolean
Default:
null
Declared by:
plugins.mini-diff.settings
Options provided to the require('mini.diff').setup function.
Type: lua value
Default:
{ }
Example:
{
delay = {
text_change = 200;
};
mappings = {
apply = "gh";
goto_first = "[H";
goto_last = "]H";
goto_next = "]h";
goto_prev = "[h";
reset = "gH";
textobject = "gh";
};
options = {
algorithm = "histogram";
indent_heuristic = true;
linematch = 60;
wrap_goto = false;
};
source = lib.nixvim.mkRaw "nil";
view = {
priority = 199;
signs = {
add = "▒";
change = "▒";
delete = "▒";
};
style = lib.nixvim.mkRaw "vim.go.number and 'number' or 'sign'";
};
}
Declared by: