Files
nvim-config/lua/plugins/git.lua
T
2024-11-02 09:05:33 +00:00

36 lines
783 B
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 },
}