plugins.diffview.enable

Whether to enable diffview.

Type: boolean

Default: false

Example: true

Declared by:

plugins.diffview.package

The diffview package to use.

Type: package

Default: pkgs.vimPlugins.diffview-nvim

Declared by:

plugins.diffview.diffBinaries

Show diffs for binaries

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.diffview.disableDefaultKeymaps

Disable the default keymaps;

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.diffview.enhancedDiffHl

See ‘:h diffview-config-enhanced_diff_hl’

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.diffview.extraOptions

These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.

Type: attribute set of anything

Default: { }

Declared by:

plugins.diffview.gitCmd

The git executable followed by default args.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "git"
]

Declared by:

plugins.diffview.hgCmd

The hg executable followed by default args.

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "hg"
]

Declared by:

plugins.diffview.showHelpHints

Show hints for how to open the help panel

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.diffview.useIcons

Requires nvim-web-devicons

Type: boolean

Default: true

Declared by:

plugins.diffview.watchIndex

Update views and index buffers when the git index changes.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: