From 0693f70e8e544b032835f34cdf34a07a27ceddc5 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 10 Jun 2024 00:57:35 +0530 Subject: [PATCH] add diffview --- init.lua | 3 +++ lua/plugins/diffview.lua | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 lua/plugins/diffview.lua diff --git a/init.lua b/init.lua index 61bc880..39e6740 100644 --- a/init.lua +++ b/init.lua @@ -16,6 +16,9 @@ require("options") opts = { spec = nil, local_spec = true, + diff = { + cmd = "diffview.nvim", + }, } require("lazy").setup("plugins", opts) diff --git a/lua/plugins/diffview.lua b/lua/plugins/diffview.lua new file mode 100644 index 0000000..22a9d5b --- /dev/null +++ b/lua/plugins/diffview.lua @@ -0,0 +1,4 @@ +local Plugin = { "sindrets/diffview.nvim" } +Plugin.dependencies = { "nvim-tree/nvim-web-devicons" } + +return Plugin