From 87ae276fe53be329e0cf12ed68ec8054572e8bc4 Mon Sep 17 00:00:00 2001 From: Uzair Aftab Date: Thu, 13 Jul 2023 21:46:04 +0200 Subject: [PATCH] feat(git): Add diffview.nvim --- lua/astrocommunity/git/diffview-nvim/README.md | 6 ++++++ lua/astrocommunity/git/diffview-nvim/init.lua | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 lua/astrocommunity/git/diffview-nvim/README.md create mode 100644 lua/astrocommunity/git/diffview-nvim/init.lua diff --git a/lua/astrocommunity/git/diffview-nvim/README.md b/lua/astrocommunity/git/diffview-nvim/README.md new file mode 100644 index 000000000..3f1af6163 --- /dev/null +++ b/lua/astrocommunity/git/diffview-nvim/README.md @@ -0,0 +1,6 @@ +# diffview.nvim + +Single tabpage interface for easily cycling through diffs for all modified files for any git rev. + +**Repository:** + diff --git a/lua/astrocommunity/git/diffview-nvim/init.lua b/lua/astrocommunity/git/diffview-nvim/init.lua new file mode 100644 index 000000000..760a72bb3 --- /dev/null +++ b/lua/astrocommunity/git/diffview-nvim/init.lua @@ -0,0 +1,5 @@ +return { + "sindrets/diffview.nvim", + event = "User AstroGitFile", + cmd = { "DiffviewOpen" }, +}