plugins.lazygit.settings

The configuration options for lazygit without the lazygit_ prefix.

Example: To set lazygit_foo_bar to 1, write

  settings = {
    foo_bar = true;
  };

Type: attribute set of anything

Default: { }

Example:

{
  config_file_path = [ ];
  floating_window_border_chars = [
    "╭"
    "─"
    "╮"
    "│"
    "╯"
    "─"
    "╰"
    "│"
  ];
  floating_window_scaling_factor = 0.9;
  floating_window_use_plenary = false;
  floating_window_winblend = 0;
  use_custom_config_file_path = false;
  use_neovim_remote = true;
}

Declared by:

plugins.lazygit.settings.config_file_path

Custom config file path or list of custom config file paths.

Type: null or string or list of string

Default: null

Plugin default: []

Declared by:

plugins.lazygit.settings.floating_window_border_chars

Customize lazygit popup window border characters.

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

Default: null

Plugin default: ["╭" "─" "╮" "│" "╯" "─" "╰" "│"]

Declared by:

plugins.lazygit.settings.floating_window_scaling_factor

Set the scaling factor for floating window.

Type: null or (nonnegative integer or floating point number, meaning >=0)

Default: null

Plugin default: 0.9

Declared by:

plugins.lazygit.settings.floating_window_use_plenary

Whether to use plenary.nvim to manage floating window if available.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.lazygit.settings.floating_window_winblend

Set the transparency of the floating window.

Type: null or integer between 0 and 100 (both inclusive)

Default: null

Plugin default: 0

Declared by:

plugins.lazygit.settings.use_custom_config_file_path

Config file path is evaluated if this value is true.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.lazygit.settings.use_neovim_remote

Whether to use neovim remote. Will fallback to false if neovim-remote is not installed.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: