init.lua/lua/plugins/gitsigns.lua

16 lines
344 B
Lua
Raw Permalink Normal View History

2024-06-10 00:59:22 +05:30
local Plugin = { "lewis6991/gitsigns.nvim" }
2024-06-10 01:45:39 +05:30
Plugin.event = { "BufReadPost", "BufNewFile" }
2024-06-10 00:59:22 +05:30
-- 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