feat: fugit2, a different, nicer neogit

This commit is contained in:
Teesh 2026-02-12 09:51:00 +02:00
parent f56047b966
commit fef819348d

View file

@ -14,17 +14,30 @@
programs.lazyvim = {
enable = true;
pluginSource = "nixpkgs";
extraPackages = with pkgs; [
nixd
alejandra
statix
];
plugins.catppuccin = ''
return { "LazyVim/LazyVim", opts = { colorscheme = "catppuccin" } }
'';
plugins.neogit = ''
return { "NeogitOrg/neogit", opts = {}, keys = { { "<leader>gg", "<cmd>Neogit<cr>" } } }
plugins.fugit = ''
return {
'SuperBo/fugit2.nvim',
build = true,
opts = {
libgit2_path = "${pkgs.libgit2}/lib/libgit2.so"
},
dependencies = {
'MunifTanjim/nui.nvim',
'nvim-tree/nvim-web-devicons',
'nvim-lua/plenary.nvim',
{
'chrisgrieser/nvim-tinygit',
dependencies = { 'stevearc/dressing.nvim' }
},
},
cmd = { 'Fugit2', 'Fugit2Diff', 'Fugit2Graph' },
keys = {
{ '<leader>gg', mode = 'n', '<cmd>Fugit2<cr>' }
}
}
'';
plugins.nix = ''
return {