feat(nvim): add Neogit plugin

This commit is contained in:
Stefan Imhoff
2024-03-16 13:10:55 +01:00
parent 948ea065a8
commit 38620e4af7
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
-- An interactive and powerful Git interface for Neovim
-- https://github.com/NeogitOrg/neogit
return {
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim",
"sindrets/diffview.nvim",
"nvim-telescope/telescope.nvim",
},
keys = {
{
"<leader>gn",
function()
require("neogit").open()
end,
desc = "Neogit",
},
},
config = true,
}