summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/plugins/git.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins/git.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/plugins/git.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/git.lua b/pkgs/custom-neovim/config/lua/plugins/git.lua
new file mode 100644
index 0000000..ce60214
--- /dev/null
+++ b/pkgs/custom-neovim/config/lua/plugins/git.lua
@@ -0,0 +1,26 @@
+return {
+ {
+ "mini.git",
+ lazy = false,
+ cmd = "Git",
+ after = function()
+ require("mini.git").setup()
+ end
+ },
+ {
+ "mini.diff",
+ lazy = false,
+ after = function()
+ require("mini.diff").setup()
+ end
+ },
+ {
+ "neogit",
+ lazy = true,
+ cmd = "Neogit",
+ after = function()
+ vim.cmd.packadd("plenary.nvim")
+ require("neogit").setup()
+ end
+ },
+}