2024-06-17 15:22:39 +07:00
|
|
|
return {
|
|
|
|
"kdheepak/lazygit.nvim",
|
|
|
|
-- optional for floating window border decoration
|
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
},
|
2024-08-14 10:58:46 +07:00
|
|
|
setup = function()
|
|
|
|
if vim.fn.executable "nvr" == 1 then
|
|
|
|
vim.env.GIT_EDITOR = [[nvr -cc split --remote-wait +'set bufhidden=wipe']]
|
|
|
|
end
|
|
|
|
end,
|
2024-08-18 18:08:48 +07:00
|
|
|
enabled = (not vim.fn.executable "zellij" == 1) and (not vim.fn.executable "footclient" == 1),
|
2024-06-17 15:22:39 +07:00
|
|
|
keys = {
|
|
|
|
{ "<leader>z", "<cmd>LazyGit<cr>", desc = "Symbols Outline" },
|
|
|
|
},
|
|
|
|
}
|