From b44513ba6597f96b10410213663fbcb2f0086528 Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Thu, 13 Jul 2023 21:58:30 +0200 Subject: [PATCH] feat(git): Add diffview.nvim (#428) --- 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" }, +}