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({ { "g", group = "Neogit", }, { "go", function() neogit.open() end, }, }) end }