50 lines
1.1 KiB
Lua
50 lines
1.1 KiB
Lua
return {
|
|
{
|
|
"NeogitOrg/neogit",
|
|
cmd = "Neogit",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim", -- required
|
|
"sindrets/diffview.nvim", -- optional - Diff integration
|
|
|
|
-- Only one of these is needed.
|
|
"nvim-telescope/telescope.nvim", -- optional
|
|
"ibhagwan/fzf-lua", -- optional
|
|
-- "echasnovski/mini.pick", -- optional
|
|
},
|
|
config = true,
|
|
keys = {
|
|
{ "<leader>g", "<cmd>Neogit<CR>", desc = "Neogit" },
|
|
},
|
|
},
|
|
|
|
{
|
|
"sindrets/diffview.nvim",
|
|
event = "VeryLazy",
|
|
dependencies = "nvim-lua/plenary.nvim",
|
|
opts = {
|
|
enhanced_diff_hl = true,
|
|
file_panel = {
|
|
win_config = {
|
|
width = 25,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
{ "akinsho/git-conflict.nvim", event = "VeryLazy", config = true },
|
|
|
|
{
|
|
"georgeguimaraes/review.nvim",
|
|
dependencies = {
|
|
"esmuellert/codediff.nvim",
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
cmd = { "Review" },
|
|
keys = {
|
|
{ "<leader>r", "<cmd>Review<cr>", desc = "Review" },
|
|
{ "<leader>R", "<cmd>Review commits<cr>", desc = "Review commits" },
|
|
},
|
|
opts = {},
|
|
},
|
|
}
|