plugins.diffview.view.default.layout

Config for changed files, and staged files in diff views. Configure the layout and behavior of different types of views. For more info, see ‘:h diffview-config-view.x.layout’.

  • A: Old state
  • B: New state

diff2_horizontal:

| A | B |

diff2_vertical:

A

B

Type: null or one of “diff2_horizontal”, “diff2_vertical” or raw lua code

Default: null

Plugin default: "diff2_horizontal"

Declared by:

plugins.diffview.view.default.winbarInfo

See ‘:h diffview-config-view.x.winbar_info’

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by: