summaryrefslogtreecommitdiff
path: root/overlays/vimPlugins.nix
blob: 8885e9b0ac36d6bfb6c75e916eecbff45219c1e9 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{pkgs, ...}: (final: prev: {
  vimPlugins = let
    getVimPlugin = {
      name,
      git,
      rev,
      ref ? "master",
    }:
      pkgs.vimUtils.buildVimPlugin {
        inherit name;
        src = builtins.fetchGit {
          url = "https://github.com/${git}";
          submodules = true;
          inherit rev;
          inherit ref;
        };
      };
  in
    prev.vimPlugins
    // {
      avante-nvim = getVimPlugin {
        name = "avante-nvim";
        git = "yetone/avante.nvim";
        rev = "a8e2b9a00c73b11d28857f0f5de79a9022281182";
      };
      nvim-cinnamon = getVimPlugin {
        name = "vim-easygrep";
        git = "declancm/cinnamon.nvim";
        rev = "e48538cba26f079822329a6d12b8cf2b916e925a";
      };
      nvim-nio = getVimPlugin {
        name = "nvim-nio";
        git = "nvim-neotest/nvim-nio";
        rev = "5800f585def265d52f1d8848133217c800bcb25d";
      };
      nvim-parinfer = getVimPlugin {
        name = "nvim-parinfer";
        git = "gpanders/nvim-parinfer";
        rev = "82bce5798993f4fe5ced20e74003b492490b4fe8";
      };
      codeium-vim = getVimPlugin {
        name = "codeium-vim";
        git = "Exafunction/codeium.vim";
        rev = "be2fa21f4f63850382a0cefeaa9f766b977c9f0c";
        ref = "refs/heads/main";
      };
    };
})