add gitsigns

This commit is contained in:
Adithya 2024-06-10 00:59:22 +05:30
parent 84461dc6fd
commit 2123f9d239
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

15
lua/plugins/gitsigns.lua Normal file
View file

@ -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 = "<author>, <author_time:%R> - <summary>",
}
return Plugin