oil-git-status

URL: https://github.com/refractalize/oil-git-status.nvim/

Maintainers: Fran Cirka


Add Git Status to oil.nvim directory listings.

Git status is added to the listing asynchronously after creating the oil directory

listing so it won't slow oil down on big repositories. The plugin puts the status in two new sign columns the left being the status of the index, the right being the status of the working directory

note

This plugin requires you configure plugins.oil to allow at least 2 sign columns:

plugins.oil = {
  enable = true;
  settings = {
    win_options = {
      signcolumn = "yes:2";
    };
  };
};

Valid values include yes or auto with a "max" of at least 2. E.g. "yes:2" or "auto:1-2".

See plugin docs and :h 'signcolumn'

plugins.oil-git-status.enable

Whether to enable oil-git-status.nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.oil-git-status.package

The oil-git-status.nvim package to use.

Type: package

Default: pkgs.vimPlugins.oil-git-status-nvim

Declared by:

plugins.oil-git-status.autoLoad

Whether to automatically load oil-git-status.nvim when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.oil-git-status.settings

Options provided to the require('oil-git-status').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  show_ignored = false;
}

Declared by: