2023-05-04 12:39:25 +01:00
|
|
|
return {
|
|
|
|
"TimUntersberger/neogit",
|
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
"sindrets/diffview.nvim",
|
|
|
|
},
|
2023-05-16 09:22:33 +01:00
|
|
|
cmd = "Neogit",
|
2023-05-18 09:15:39 +01:00
|
|
|
init = function() vim.keymap.set("n", "<leader>g", "<cmd>Neogit<CR>") end,
|
2023-05-16 09:22:33 +01:00
|
|
|
config = true,
|
|
|
|
opts = {
|
|
|
|
disable_commit_confirmation = true,
|
|
|
|
disable_builtin_notifications = true,
|
|
|
|
-- kind = "floating",
|
|
|
|
-- commit_popup = { kind = "floating" },
|
|
|
|
-- preview_buffer = { kind = "floating" },
|
|
|
|
-- popup = { kind = "floating" },
|
|
|
|
integrations = { diffview = true },
|
|
|
|
},
|
2023-05-04 12:39:25 +01:00
|
|
|
}
|