Unverified Commit e8fe110d authored by Austin Horstman's avatar Austin Horstman
Browse files

vimPlugins.fugit2-nvim: init at 2024-12-19

parent 0a4b89ad
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -4236,6 +4236,18 @@ final: prev:
    meta.homepage = "https://github.com/raghur/fruzzy/";
  };
  fugit2-nvim = buildVimPlugin {
    pname = "fugit2.nvim";
    version = "2024-12-19";
    src = fetchFromGitHub {
      owner = "SuperBo";
      repo = "fugit2.nvim";
      rev = "96f729a4bdcf44174c6168f4457b9f3f9229efa2";
      sha256 = "151i92jzmwh2b2h6v85cfrdlnqa9ll49gcrvg1r3hi83yj4dygzr";
    };
    meta.homepage = "https://github.com/SuperBo/fugit2.nvim/";
  };
  fugitive-gitlab-vim = buildVimPlugin {
    pname = "fugitive-gitlab.vim";
    version = "2024-11-13";
+19 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
  jq,
  khard,
  languagetool,
  libgit2,
  llvmPackages,
  meson,
  neovim-unwrapped,
@@ -1034,6 +1035,24 @@ in
    nvimRequireCheck = "fuzzy_nvim";
  };

  fugit2-nvim = super.fugit2-nvim.overrideAttrs (oa: {
    # Requires web-devicons but mini.icons can mock them up
    nativeCheckInputs = oa.nativeCheckInputs ++ [
      self.nvim-web-devicons
    ];
    dependencies = with self; [
      nui-nvim
      plenary-nvim
    ];
    # Patch libgit2 library dependency
    postPatch = ''
      substituteInPlace lua/fugit2/libgit2.lua \
        --replace-fail \
        'M.library_path = "libgit2"' \
        'M.library_path = "${lib.getLib libgit2}/lib/libgit2${stdenv.hostPlatform.extensions.sharedLibrary}"'
    '';
  });

  fzf-checkout-vim = super.fzf-checkout-vim.overrideAttrs {
    # The plugin has a makefile which tries to run tests in a docker container.
    # This prevents it.
+1 −0
Original line number Diff line number Diff line
@@ -350,6 +350,7 @@ https://github.com/megaannum/forms/,,
https://github.com/rubiin/fortune.nvim/,HEAD,
https://github.com/rafamadriz/friendly-snippets/,,
https://github.com/raghur/fruzzy/,,
https://github.com/SuperBo/fugit2.nvim/,HEAD,
https://github.com/shumphrey/fugitive-gitlab.vim/,,
https://github.com/BeneCollyridam/futhark-vim/,,
https://github.com/tzachar/fuzzy.nvim/,HEAD,