Skip to content

Commit 8812fb6

Browse files
authored
vimPlugins.fugit2-nvim: init at 2024-12-19 (#367786)
2 parents e905913 + e8fe110 commit 8812fb6

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

pkgs/applications/editors/vim/plugins/generated.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4236,6 +4236,18 @@ final: prev:
42364236
meta.homepage = "https://github.com/raghur/fruzzy/";
42374237
};
42384238

4239+
fugit2-nvim = buildVimPlugin {
4240+
pname = "fugit2.nvim";
4241+
version = "2024-12-19";
4242+
src = fetchFromGitHub {
4243+
owner = "SuperBo";
4244+
repo = "fugit2.nvim";
4245+
rev = "96f729a4bdcf44174c6168f4457b9f3f9229efa2";
4246+
sha256 = "151i92jzmwh2b2h6v85cfrdlnqa9ll49gcrvg1r3hi83yj4dygzr";
4247+
};
4248+
meta.homepage = "https://github.com/SuperBo/fugit2.nvim/";
4249+
};
4250+
42394251
fugitive-gitlab-vim = buildVimPlugin {
42404252
pname = "fugitive-gitlab.vim";
42414253
version = "2024-11-13";

pkgs/applications/editors/vim/plugins/overrides.nix

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
jq,
3434
khard,
3535
languagetool,
36+
libgit2,
3637
llvmPackages,
3738
meson,
3839
neovim-unwrapped,
@@ -1034,6 +1035,24 @@ in
10341035
nvimRequireCheck = "fuzzy_nvim";
10351036
};
10361037

1038+
fugit2-nvim = super.fugit2-nvim.overrideAttrs (oa: {
1039+
# Requires web-devicons but mini.icons can mock them up
1040+
nativeCheckInputs = oa.nativeCheckInputs ++ [
1041+
self.nvim-web-devicons
1042+
];
1043+
dependencies = with self; [
1044+
nui-nvim
1045+
plenary-nvim
1046+
];
1047+
# Patch libgit2 library dependency
1048+
postPatch = ''
1049+
substituteInPlace lua/fugit2/libgit2.lua \
1050+
--replace-fail \
1051+
'M.library_path = "libgit2"' \
1052+
'M.library_path = "${lib.getLib libgit2}/lib/libgit2${stdenv.hostPlatform.extensions.sharedLibrary}"'
1053+
'';
1054+
});
1055+
10371056
fzf-checkout-vim = super.fzf-checkout-vim.overrideAttrs {
10381057
# The plugin has a makefile which tries to run tests in a docker container.
10391058
# This prevents it.

pkgs/applications/editors/vim/plugins/vim-plugin-names

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ https://github.com/megaannum/forms/,,
350350
https://github.com/rubiin/fortune.nvim/,HEAD,
351351
https://github.com/rafamadriz/friendly-snippets/,,
352352
https://github.com/raghur/fruzzy/,,
353+
https://github.com/SuperBo/fugit2.nvim/,HEAD,
353354
https://github.com/shumphrey/fugitive-gitlab.vim/,,
354355
https://github.com/BeneCollyridam/futhark-vim/,,
355356
https://github.com/tzachar/fuzzy.nvim/,HEAD,

0 commit comments

Comments
 (0)