mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
22 lines
528 B
Lua
22 lines
528 B
Lua
return {
|
|
"NeogitOrg/neogit",
|
|
event = "VeryLazy",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim", -- required
|
|
"nvim-telescope/telescope.nvim", -- optional
|
|
"sindrets/diffview.nvim", -- optional
|
|
"ibhagwan/fzf-lua", -- optional
|
|
},
|
|
config = function()
|
|
local whichKey = require("which-key")
|
|
local neogit = require("neogit")
|
|
|
|
neogit.setup({})
|
|
|
|
whichKey.add({
|
|
{ "<leader>g", group = "Neogit", },
|
|
{ "<leader>go", function() neogit.open() end, },
|
|
})
|
|
end
|
|
}
|