plugins.diffview.enable

Whether to enable diffview.

Type: boolean

Default: false

Example: true

Declared by:

plugins.diffview.package

Which package to use for the diffview plugin.

Type: package

Default: <derivation vimplugin-diffview.nvim-2023-11-20>

Declared by:

plugins.diffview.diffBinaries

Show diffs for binaries

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.diffview.disableDefaultKeymaps

Disable the default keymaps;

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.diffview.enhancedDiffHl

See ‘:h diffview-config-enhanced_diff_hl’

Plugin default: false

Type: null or boolean or raw lua code

Default: null

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.

Plugin default: [ "git" ]

Type: null or (list of string)

Default: null

Declared by:

plugins.diffview.hgCmd

The hg executable followed by default args.

Plugin default: [ "hg" ]

Type: null or (list of string)

Default: null

Declared by:

plugins.diffview.showHelpHints

Show hints for how to open the help panel

Plugin default: true

Type: null or boolean or raw lua code

Default: null

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.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: