return { { 'NeogitOrg/neogit', cmd = 'Neogit', dependencies = { 'nvim-lua/plenary.nvim', 'sindrets/diffview.nvim', }, opts = { disable_commit_confirmation = true, auto_refresh = true, kind = 'tab', commit_editor = { kind = 'auto', }, integrations = { -- Neogit only provides inline diffs. If you want a more traditional way to look at diffs, you can use `sindrets/diffview.nvim`. -- The diffview integration enables the diff popup, which is a wrapper around `sindrets/diffview.nvim`. -- -- Requires you to have `sindrets/diffview.nvim` installed. -- use { -- 'TimUntersberger/neogit', -- requires = { -- 'nvim-lua/plenary.nvim', -- 'sindrets/diffview.nvim' -- } -- } -- diffview = true } }, keys = { { 'g', 'Neogit', desc = 'Neogit toggle' }, }, }, }