plugins.committia.settings

The configuration options for committia without the committia_ prefix.

For example, the following settings are equivialent to these :setglobal commands:

  • foo_bar = 1 -> :setglobal committia_foo_bar=1
  • hello = "world" -> :setglobal committia_hello="world"
  • some_toggle = true -> :setglobal committia_some_toggle
  • other_toggle = false -> :setglobal nocommittia_other_toggle

Type: attribute set of anything

Default: { }

Example:

{
  callback = {
    __raw = ''
      function()
        print('nixvim')
      end
    '';
  };
  foo_bar = 42;
  hostname = "localhost:8080";
}

Declared by:

plugins.committia.settings.diff_window_opencmd

Vim command which opens a diff window in multi-columns mode.

Plugin default: "botright vsplit"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.committia.settings.edit_window_width

If committia.vim is in multi-columns mode, specifies the width of the edit window.

Plugin default: 80

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Declared by:

plugins.committia.settings.min_window_width

If the width of window is narrower than the value, committia.vim employs single column mode.

Plugin default: 160

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Declared by:

plugins.committia.settings.open_only_vim_starting

If false, committia.vim always attempts to open committia’s buffer when COMMIT_EDITMSG buffer is opened. If you use vim-fugitive, I recommend to set this value to true.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.committia.settings.singlecolumn_diff_window_opencmd

Vim command which opens a diff window in single-column mode.

Plugin default: "belowright split"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.committia.settings.status_window_min_height

Minimum height of a status window.

Plugin default: 0

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Declared by:

plugins.committia.settings.status_window_opencmd

Vim command which opens a status window in multi-columns mode.

Plugin default: "belowright split"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.committia.settings.use_singlecolumn

If the value is ‘always’, committia.vim always employs single column mode.

Plugin default: "always"

Type: null or string or raw lua code

Default: null

Declared by: