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

programs.delta.enable

Whether to enable delta, a syntax highlighter for git diffs.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.delta.enableGitIntegration

Whether to enable git integration for delta.

When enabled, delta will be configured as git’s pager for blame, diff, log, and show, and as git’s diff filter for interactive staging.

Type: boolean

Default:

false

Declared by:

programs.delta.enableJujutsuIntegration

Whether to enable jujutsu integration for delta.

When enabled, delta will be configured as jujutsus’s pager, diff filter, and merge tool.

Type: boolean

Default:

false

Declared by:

programs.delta.package

The delta package to use.

Type: package

Default:

pkgs.delta

Declared by:

programs.delta.options

Options to configure delta.

Type: attribute set of (string or boolean or signed integer or attribute set of (string or boolean or signed integer))

Default:

{ }

Example:

{
  decorations = {
    commit-decoration-style = "bold yellow box ul";
    file-decoration-style = "none";
    file-style = "bold yellow ul";
  };
  features = "decorations";
  whitespace-error-style = "22 reverse";
}

Declared by: