Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.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: