add gitsigns
This commit is contained in:
parent
84461dc6fd
commit
2123f9d239
1 changed files with 15 additions and 0 deletions
15
lua/plugins/gitsigns.lua
Normal file
15
lua/plugins/gitsigns.lua
Normal 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
|
Loading…
Reference in a new issue