From 2123f9d239ca22dc0e03cb6ea2e7808e5ce3c739 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 10 Jun 2024 00:59:22 +0530 Subject: [PATCH] add gitsigns --- lua/plugins/gitsigns.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lua/plugins/gitsigns.lua diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua new file mode 100644 index 0000000..77030a7 --- /dev/null +++ b/lua/plugins/gitsigns.lua @@ -0,0 +1,15 @@ +local Plugin = { "lewis6991/gitsigns.nvim" } + +Plugin.event = { "BufReadPre", "BufNewFile" } + +-- See :help gitsigns-usage +Plugin.opts = { + current_line_blame = true, + current_line_blame_opts = { + virt_text_pos = "right_align", + delay = 0, + }, + current_line_blame_formatter = ", - ", +} + +return Plugin