feat: switch back to neogit (fugit was unstable)
This commit is contained in:
parent
0dfdeaaca1
commit
c64aced819
1 changed files with 11 additions and 16 deletions
|
|
@ -23,7 +23,6 @@
|
|||
nixd
|
||||
alejandra
|
||||
statix
|
||||
libgit2.lib
|
||||
zls
|
||||
|
||||
vimPlugins.nvim-treesitter.withAllGrammars
|
||||
|
|
@ -32,25 +31,21 @@
|
|||
plugins.catppuccin = ''
|
||||
return { "LazyVim/LazyVim", opts = { colorscheme = "catppuccin" } }
|
||||
'';
|
||||
plugins.fugit = ''
|
||||
plugins.neogit = ''
|
||||
return {
|
||||
'SuperBo/fugit2.nvim',
|
||||
build = true,
|
||||
opts = {
|
||||
libgit2_path = "${pkgs.libgit2.lib}/lib/libgit2.so"
|
||||
},
|
||||
"NeogitOrg/neogit",
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
'MunifTanjim/nui.nvim',
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
'nvim-lua/plenary.nvim',
|
||||
{
|
||||
'chrisgrieser/nvim-tinygit',
|
||||
dependencies = { 'stevearc/dressing.nvim' }
|
||||
"nvim-lua/plenary.nvim", -- required
|
||||
|
||||
"sindrets/diffview.nvim", -- optional
|
||||
"esmuellert/codediff.nvim", -- optional
|
||||
|
||||
"folke/snacks.nvim", -- optional
|
||||
},
|
||||
},
|
||||
cmd = { 'Fugit2', 'Fugit2Diff', 'Fugit2Graph' },
|
||||
cmd = "Neogit",
|
||||
keys = {
|
||||
{ '<leader>gg', mode = 'n', '<cmd>Fugit2<cr>' }
|
||||
{ "<leader>gg", "<cmd>Neogit<cr>", desc = "Show Neogit UI" }
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue