summaryrefslogtreecommitdiffstats
path: root/modules/plugins/git/default.nix
blob: 5f605596fc697c735418e3352b376e3c9725925e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{lib, ...}: let
  inherit (lib.options) mkEnableOption;
in {
  imports = [
    ./gitsigns
    ./hunk-nvim
    ./vim-fugitive
    ./git-conflict
    ./gitlinker-nvim
    ./neogit
    ./octo-nvim
  ];

  options.vim.git = {
    enable = mkEnableOption ''
      git integration suite.

      Enabling this option will enable the following plugins:

      * gitsigns
      * hunk-nvim
      * vim-fugitive
      * git-conflict
      * gitlinker-nvim
      * octo-nvim
    '';
  };
}